nvim: use config second opts option when calling setup
This commit is contained in:
@@ -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
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user