diff --git a/lua/dot013/plugins/ide.lua b/lua/dot013/plugins/ide.lua index 030b43b..46fa44d 100644 --- a/lua/dot013/plugins/ide.lua +++ b/lua/dot013/plugins/ide.lua @@ -167,4 +167,17 @@ return { require("nvim-autopairs").setup() end, }, + + -- Auto closing and renaming tags + { + "nvim-ts-autotag", + event = { "BufReadPre", "BufNewFile" }, + after = function() + require("nvim-ts-autotag").setup({ + aliases = { + ["templ"] = "html", + }, + }) + end, + }, } diff --git a/neovim.nix b/neovim.nix index 1c3422b..24b5360 100644 --- a/neovim.nix +++ b/neovim.nix @@ -42,6 +42,7 @@ nvim-dap-go nvim-dap-ui nvim-dap-virtual-text + nvim-ts-autotag nvim-web-devicons telescope-nvim telescope-fzf-native-nvim