mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 14:52:04 +00:00
Update 2024-05-23
This commit is contained in:
17
lua/plugins/ts-autotag.lua
Normal file
17
lua/plugins/ts-autotag.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
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 = {},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user