nvim: add sourround
This commit is contained in:
13
nvim/.config/nvim/lua/plugins/surround.lua
Normal file
13
nvim/.config/nvim/lua/plugins/surround.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
vim.pack.add({
|
||||
{
|
||||
src = "https://github.com/kylechui/nvim-surround",
|
||||
version = vim.version.range("^3.0.0"),
|
||||
},
|
||||
})
|
||||
|
||||
local ok, surround = pcall(require, "nvim-surround")
|
||||
if ok then
|
||||
surround.setup()
|
||||
else
|
||||
print("plugin surround missing")
|
||||
end
|
||||
Reference in New Issue
Block a user