From 1060f80f5f1aeaa365c4ad901351ac47081eb4cf Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Sun, 1 Dec 2024 07:23:59 -0500 Subject: [PATCH] feat: add autotag support for treesitter --- .config/nvim/lua/plugins/ts-autotag.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .config/nvim/lua/plugins/ts-autotag.lua diff --git a/.config/nvim/lua/plugins/ts-autotag.lua b/.config/nvim/lua/plugins/ts-autotag.lua new file mode 100644 index 0000000..366c724 --- /dev/null +++ b/.config/nvim/lua/plugins/ts-autotag.lua @@ -0,0 +1,25 @@ +return { + 'windwp/nvim-ts-autotag', + ft = { + 'astro', + 'glimmer', + 'handlebars', + 'html', + 'javascript', + 'jsx', + 'markdown', + 'php', + 'rescript', + 'svelte', + 'tsx', + 'twig', + 'typescript', + 'vue', + 'xml', + }, + opts = { + opts = { + enable_close_on_slash = true, + }, + }, +}