mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(vimtex): suppress treesitter warning
Currently, vimtex warns:
syntax highlighting is controlled by Treesitter
Explicitly disabling syntax higlighting disables the warning.
This commit is contained in:
parent
c9ab8224f5
commit
6d00cb856a
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ return {
|
|||
config = function()
|
||||
vim.g.vimtex_mappings_disable = { ["n"] = { "K" } } -- disable `K` as it conflicts with LSP hover
|
||||
vim.g.vimtex_quickfix_method = vim.fn.executable("pplatex") == 1 and "pplatex" or "latexlog"
|
||||
vim.g.vimtex_syntax_enabled = false -- suppress treesitter warning
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue