From 212480198508ed1fd8b30f29986ab5144e9cfc58 Mon Sep 17 00:00:00 2001 From: Holger Preu Date: Fri, 3 Jan 2025 15:40:18 +0100 Subject: [PATCH] fixed surround configuration --- lua/holger/plugins/surround.lua | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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, }