nvim: add sourround

This commit is contained in:
2026-01-04 22:43:47 +01:00
parent a7c0178983
commit 4dfb7abbba
3 changed files with 23 additions and 4 deletions

View File

@@ -11,4 +11,5 @@ require("plugins.multicursor")
require("plugins.nvim-various-textobjs")
require("plugins.oil")
require("plugins.snacks")
require("plugins.surround")
require("plugins.treesitter")

View 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

View File

@@ -9,7 +9,7 @@
"src": "https://github.com/rmagatti/auto-session"
},
"conform.nvim": {
"rev": "328c2f1dda56f933d3337a1316e1020ba30ba6aa",
"rev": "5420c4b5ea0aeb99c09cfbd4fd0b70d257b44f25",
"src": "https://github.com/stevearc/conform.nvim"
},
"flash.nvim": {
@@ -21,10 +21,15 @@
"src": "https://github.com/ellisonleao/gruvbox.nvim"
},
"multicursor.nvim": {
"rev": "a0ea3303a6c4b233cf3272fb1e358d4c842e5260",
"rev": "993c6eda70077c5619388900dcffefff73b40c96",
"src": "https://github.com/jake-stewart/multicursor.nvim",
"version": "'1.0'"
},
"nvim-surround": {
"rev": "1098d7b3c34adcfa7feb3289ee434529abd4afd1",
"src": "https://github.com/kylechui/nvim-surround",
"version": "3.0.0 - 4.0.0"
},
"nvim-treesitter": {
"rev": "42fc28ba918343ebfd5565147a42a26580579482",
"src": "https://github.com/nvim-treesitter/nvim-treesitter",
@@ -36,11 +41,11 @@
"version": "'master'"
},
"nvim-various-textobjs": {
"rev": "f35e4cc78e9cd4dcb43d6285f7c1acac3b42eb55",
"rev": "c472b634058ec9cd4a2dc4f6340022d9deae0adb",
"src": "https://github.com/chrisgrieser/nvim-various-textobjs"
},
"oil.nvim": {
"rev": "cbcb3f997f6f261c577b943ec94e4ef55108dd95",
"rev": "756dec855b4811f2d27f067a3aca477f368d99f5",
"src": "https://github.com/stevearc/oil.nvim"
},
"snacks.nvim": {