nvim: use config second opts option when calling setup

This commit is contained in:
2024-06-29 13:41:33 +02:00
parent e03d46c3ab
commit 1f040c70ab
7 changed files with 43 additions and 35 deletions

View File

@@ -15,8 +15,8 @@ return {
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({})
config = function(_, opts)
require("nvim-surround").setup(opts)
end
},
}