add html autotag plugin

This commit is contained in:
Schistos 2024-06-28 13:05:55 +03:00
parent aae88217c3
commit 064e55fe56
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,20 @@
return {
{
-- 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
'nvim-ts-autotag',
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 </
},
per_filetype = {
['html'] = {
enable_close = false,
},
},
},
}