add html autotag plugin
This commit is contained in:
parent
aae88217c3
commit
064e55fe56
2 changed files with 21 additions and 0 deletions
20
lua/custom/plugins/autotag.lua
Normal file
20
lua/custom/plugins/autotag.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue