summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMarcelo <setanta@gmail.com>2025-03-30 04:26:45 -0300
committerMarcelo <setanta@gmail.com>2025-03-30 04:26:45 -0300
commit90188991268ddbffb87026728c9b42402c1d5dfe (patch)
treee7dad59f1c94af577f4231ce2bdbd4d40f99a0d6 /lua
parentb0eb562397813b2d1474a690c292570a2641096d (diff)
Add vim-surround to make it easy to change surrounding characters.
Diffstat (limited to 'lua')
-rw-r--r--lua/config/plugins/code-editing.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/config/plugins/code-editing.lua b/lua/config/plugins/code-editing.lua
new file mode 100644
index 0000000..2f82f3d
--- /dev/null
+++ b/lua/config/plugins/code-editing.lua
@@ -0,0 +1,14 @@
+return {
+ -- Add/change/delete surrounding delimiter pairs with ease.
+ {
+ "kylechui/nvim-surround",
+ event = "VeryLazy",
+ dependencies = {
+ "nvim-treesitter/nvim-treesitter",
+ "nvim-treesitter/nvim-treesitter-textobjects",
+ },
+ config = function()
+ require("nvim-surround").setup({})
+ end
+ },
+}