From 8f13863d45d4d44e88a28ddb2cfce20d313bc734 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Wed, 6 Dec 2023 04:51:46 +0100 Subject: [PATCH] also using the neovim syntax to indent the file along with treesitter --- nvim/lua/settings/lazy/plugins/nvim-treesitter.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua b/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua index 076d24d..505df05 100644 --- a/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua +++ b/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua @@ -49,12 +49,11 @@ return { highlight = { enable = true, - -- 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). -- Using this option may slow down your editor, and you may see some duplicate highlights. -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = false, + additional_vim_regex_highlighting = true, }, }) end,