This commit is contained in:
2025-09-19 19:57:27 +02:00
commit e4bca2cc5d
19 changed files with 480 additions and 0 deletions

22
lua/plugins/html.lua Normal file
View File

@ -0,0 +1,22 @@
-- For automatically closing html tags when typed
return {
"windwp/nvim-ts-autotag",
config = function()
require("nvim-ts-autotag").setup({
opts = {
-- Defaults
enable_close = true, -- Auto close tags
enable_rename = true, -- Auto rename pairs of tags
enable_close_on_slash = false, -- Auto close on trailing </
},
-- Also override individual filetype configs, these take priority.
-- Empty by default, useful if one of the "opts" global settings
-- doesn't work well in a specific filetype
per_filetype = {
["html"] = {
enable_close = true,
},
},
})
end,
}