From a7f1b2aa03d52008f7b25afcda0efb758f4dc563 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Mon, 1 Jan 2024 14:03:32 +0100 Subject: [PATCH] udpated default configuration for a more sensible one --- .../nvim/lua/settings/lazy/plugins/nvim-treesitter.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua index 8ad9fac..3697e4c 100644 --- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua +++ b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvim-treesitter.lua @@ -39,11 +39,11 @@ return { }, -- Install parsers synchronously (only applied to `ensure_installed`) - sync_install = true, + sync_install = false, -- Automatically install missing parsers when entering buffer -- Recommendation: set to false if you don"t have `tree-sitter` CLI installed locally - auto_install = true, + auto_install = false, ---- If you need to change the installation directory of the parsers (see -> Advanced Setup) -- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")! @@ -58,7 +58,7 @@ return { -- 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 = true, + additional_vim_regex_highlighting = false, }, }) end,