diff --git a/lua/holger/plugins/surround.lua b/lua/holger/plugins/surround.lua index 77f5073..5fc478b 100644 --- a/lua/holger/plugins/surround.lua +++ b/lua/holger/plugins/surround.lua @@ -1,6 +1,11 @@ return { - "kylechui/nvim-surround", - event = { "BufReadPre", "BufNewFile" }, - version = "*", -- Use for stability; omit to use `main` branch for the latest features - config = true, + "kylechui/nvim-surround", + -- event = { "BufReadPre", "BufNewFile" }, + event = "VeryLazy", + version = "*", -- Use for stability; omit to use `main` branch for the latest features + config = function() + require("nvim-surround").setup({ + -- use defaults + }) + end, }