Files
nvim-config-old/lua/plugins/surround.lua
2026-01-24 12:03:52 +01:00

25 lines
455 B
Lua

return {
"kylechui/nvim-surround",
version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({
keymaps = {
visual = "Y",
},
surrounds = {
["("] = {
add = function()
return { { "(" }, { ")" } }
end,
},
["<"] = {
add = function()
return { { "<" }, { ">" } }
end,
},
},
})
end,
}