From f541e3d1933bafdc0ff989c84e39d9304241b0c9 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Wed, 20 Mar 2024 11:28:20 +0100 Subject: [PATCH] only install treesitter if needed --- lua/plugins/treesitter.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index fc4a920..b295bf9 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -5,10 +5,10 @@ return { config = function() require('nvim-treesitter.install').compilers = { 'gcc' } require('nvim-treesitter.configs').setup({ - ensure_installed = 'all', + ensure_installed = '', modules = {}, - sync_install = false, - auto_install = false, + sync_install = true, + auto_install = true, ignore_install = {}, highlight = { enable = true,