From 4d31dd83da1c8700060536c77f184c6edcca730c Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 22 Jul 2023 16:18:08 +0530 Subject: nvim: nvim-treesitter autotag extension --- .config/nvim/lua/justsaumit/treesitter-config.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/nvim/lua/justsaumit/treesitter-config.lua') 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',}, } } -- cgit v1.2.3