nvim/after/plugin/autotag.lua

17 lines
525 B
Lua
Raw Permalink Normal View History

2024-11-03 12:18:09 +00:00
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 = 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 = {
-- ["html"] = {
-- enable_close = false
-- }
-- }
})