summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/surround.lua
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 22:09:42 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-24 22:09:42 -0400
commit0d9d713f8fbe4f5bff7d2a06d8ba7ef4b8743009 (patch)
tree84db2ee1b69d42098cf099d17857912cec75be4b /lua/ben/plugins/surround.lua
parentde67ab8e4b607bf3d7dd9f0741d961a6f77d30cd (diff)
Add flog plugin
Diffstat (limited to 'lua/ben/plugins/surround.lua')
-rw-r--r--lua/ben/plugins/surround.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/ben/plugins/surround.lua b/lua/ben/plugins/surround.lua
index 8465f29..aef9e72 100644
--- a/lua/ben/plugins/surround.lua
+++ b/lua/ben/plugins/surround.lua
@@ -1,4 +1,5 @@
return {
- 'tpope/vim-surround',
- dependencies = 'tpope/vim-repeat'
+ "tpope/vim-surround",
+ dependencies = "tpope/vim-repeat",
+ event = { "BufReadPre", "BufNewFile" },
}