feat(ide): html tag autoclosing

This commit is contained in:
Guz
2024-12-08 10:24:53 -03:00
parent 3dac9f603e
commit b560501d1e
2 changed files with 14 additions and 0 deletions

View File

@@ -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,
},
}