diff --git a/roles/neovim/files/lua/plugins/options/treesitter.lua b/roles/neovim/files/lua/plugins/options/treesitter.lua index 279c9ed..aada881 100644 --- a/roles/neovim/files/lua/plugins/options/treesitter.lua +++ b/roles/neovim/files/lua/plugins/options/treesitter.lua @@ -2,7 +2,7 @@ require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" - ensure_installed = { "latex", "lua" }, + ensure_installed = { "lua" }, -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, @@ -18,7 +18,7 @@ require'nvim-treesitter.configs'.setup { -- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is -- the name of the parser) -- list of language that will be disabled - disable = { "latex", "yaml" }, + disable = { "diff", "latex", "yaml" }, -- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).