From 2f99d9a9af06b73e9f0f696917039ba4fe22a4c8 Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Fri, 7 Jun 2024 10:33:06 -0700 Subject: [PATCH] feat: add autotags plugin --- lazy-lock.json | 1 + lua/plugins/treesitter.lua | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/lazy-lock.json b/lazy-lock.json index fcb9d88..e801ed9 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -35,6 +35,7 @@ "nvim-spectre": { "branch": "master", "commit": "4d22fe03554056de4325762add3e546c77e3a275" }, "nvim-treesitter": { "branch": "master", "commit": "3a74b5831058d0daf8952a5b8c556c61b30a3f46" }, "nvim-treesitter-context": { "branch": "master", "commit": "5efba33af0f39942e426340da7bc15d7dec16474" }, + "nvim-ts-autotag": { "branch": "main", "commit": "6eb4120a1aadef07ac312f1c4bc6456712220007" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" }, "nvim-web-devicons": { "branch": "master", "commit": "b4b302d6ae229f67df7a87ef69fa79473fe788a9" }, "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index a79cfc6..7fa7c7e 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -39,4 +39,16 @@ return { disable_filetype = { "TelescopePrompt" }, }, }, + { + "windwp/nvim-ts-autotag", + event = "VeryLazy", + ft = { + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "html", + }, + opts = {}, + }, }