summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/justsaumit/treesitter-config.lua
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-07-22 16:18:08 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-07-22 16:18:08 +0530
commit4d31dd83da1c8700060536c77f184c6edcca730c (patch)
tree44080be0e6a90ac0d624f7e4df48c35b619813e0 /.config/nvim/lua/justsaumit/treesitter-config.lua
parented9871ae0da11db8e1e8dfb8ff2966a9b98cea30 (diff)
nvim: nvim-treesitter autotag extension
Diffstat (limited to '.config/nvim/lua/justsaumit/treesitter-config.lua')
-rw-r--r--.config/nvim/lua/justsaumit/treesitter-config.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/treesitter-config.lua b/.config/nvim/lua/justsaumit/treesitter-config.lua
index d2f477f..9249da7 100644
--- a/.config/nvim/lua/justsaumit/treesitter-config.lua
+++ b/.config/nvim/lua/justsaumit/treesitter-config.lua
@@ -16,5 +16,11 @@ require'nvim-treesitter.configs'.setup {
},
autotag = {
enable = true,
+ enable_close = true,
+ enable_close_on_slash = true,
+ enable_rename = true,
+ filetypes = { "html" , "xml",
+ 'javascript', 'typescript', 'svelte',
+ 'markdown',},
}
}