SoloVim/lua/plugins/ts-autotag.lua
2024-05-24 10:12:45 +03:00

18 lines
528 B
Lua

return {
"windwp/nvim-ts-autotag",
ft = { "javascriptreact", "typescriptreact", "php" },
events = { "BufReadPre" },
opts = {
opts = {
-- Defaults
enable_close = true, -- Auto close tags
enable_rename = true, -- Auto rename pairs of tags
enable_close_on_slash = true, -- 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 = {},
},
}