Ensure tex extra installs latex tree-sitter parser

This commit is contained in:
Frankie Robertson 2025-08-20 16:42:00 +03:00
parent 25abbf546d
commit 9c5eff5ddf

View file

@ -12,7 +12,7 @@ return {
opts = function(_, opts)
opts.highlight = opts.highlight or {}
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "bibtex" })
vim.list_extend(opts.ensure_installed, { "bibtex", "latex" })
end
if type(opts.highlight.disable) == "table" then
vim.list_extend(opts.highlight.disable, { "latex" })