diff options
| author | ache <ache@ache.one> | 2026-04-19 00:50:15 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-04-19 00:50:15 +0200 |
| commit | 8101548a03d029dfe5dcdf2e0f956b1e2084b016 (patch) | |
| tree | e421ac2f59e8e1bbc097c204e598d1c1a189e93f | |
| parent | lint: Config lua lint (diff) | |
feat: Enable & configure autotag
| -rw-r--r-- | lua/ache/plugins/nvim-ts-autotag.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/ache/plugins/nvim-ts-autotag.lua b/lua/ache/plugins/nvim-ts-autotag.lua index a63644a..e91cbc5 100644 --- a/lua/ache/plugins/nvim-ts-autotag.lua +++ b/lua/ache/plugins/nvim-ts-autotag.lua @@ -5,14 +5,14 @@ --] return { "windwp/nvim-ts-autotag", - enabled = false, + enabled = true, config = function() require("nvim-ts-autotag").setup({ opts = { -- Defaults - enable_close = true, -- Auto close tags + enable_close = false, -- Auto close tags enable_rename = true, -- Auto rename pairs of tags - enable_close_on_slash = false, -- Auto close on trailing </ + enable_close_on_slash = true, -- Auto close on trailing </ }, -- Also override individual filetype configs, these take priority. @@ -20,15 +20,15 @@ return { -- doesn't work well in a specific filetype per_filetype = { ["html"] = { - enable_close = true, + enable_close = false, enable_close_on_slash = true, }, ["svelte"] = { - enable_close = true, + enable_close = false, enable_close_on_slash = true, }, ["xml"] = { - enable_close = true, + enable_close = false, enable_close_on_slash = true, }, }, |