From 338818c744c0c9138a519ad01818e69c6c21faae Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 19 Mar 2024 22:21:51 +0100 Subject: Fix treesitter for tex, add whitespace indicator in visual mode --- lua/plugins/treesitter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/plugins/treesitter.lua') diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index fa64a8d..845ba05 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -11,7 +11,7 @@ return { ignore_install = { 'latex' }, highlight = { enable = true, - additional_vim_regex_highlighting = false, + additional_vim_regex_highlighting = { 'latex' }, }, indent = { enable = true, disable = { 'python' } }, ensure_installed = { @@ -26,7 +26,7 @@ return { }, }, config = function(_, opts) - require("nvim-treesitter.configs").setup(opts) + require('nvim-treesitter.configs').setup(opts) end, }, { -- cgit v1.2.3