refactor: update treesitter configuration

This commit is contained in:
hhhh hgfh 2026-10-03 13:15:51 +00:00
parent 74b7847910
commit e292dabfa4

View file

@ -99,6 +99,7 @@ return {
"query", "query",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"nix",
"html", "html",
"xml", "xml",
"yaml", "yaml",
@ -114,7 +115,6 @@ return {
}, },
callback = function(args) callback = function(args)
pcall(vim.treesitter.start, args.buf) pcall(vim.treesitter.start, args.buf)
vim.bo[args.buf].syntax = "on"
end, end,
}) })
end, end,