fix ts auto tag

This commit is contained in:
xfy
2024-09-14 11:53:18 +08:00
parent 95cbe86cd3
commit eafb5a3c56
3 changed files with 5 additions and 4 deletions

View File

@ -41,7 +41,7 @@
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
"nvim-spectre": { "branch": "master", "commit": "ba7fb777edff6c1fbbeffd343e113af64c04e90a" },
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
"nvim-tree.lua": { "branch": "master", "commit": "d41b4ca013ed89e41b9c0ecbdae5f1633e42f7fa" },
"nvim-tree.lua": { "branch": "master", "commit": "a4dd5ad5c8f9349142291d24e0e6466995594b9a" },
"nvim-treesitter": { "branch": "master", "commit": "e0338f2b74fbad808f2569c7d4eadd8796af2118" },
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"nvim-web-devicons": { "branch": "master", "commit": "9154484705968658e9aab2b894d1b2a64bf9f83d" },

View File

@ -6,8 +6,10 @@ return {
},
{
"windwp/nvim-ts-autotag",
lazy = true,
event = "InsertEnter",
event = { "BufReadPre", "BufNewFile" },
config = function()
require("nvim-ts-autotag").setup({})
end,
},
{
"kylechui/nvim-surround",

View File

@ -1,7 +1,6 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
-- event = { "VeryLazy" },
cmd = { "TSUpdateSync", "TSUpdate", "TSInstall" },
opts = {
ensure_installed = {