only install treesitter if needed

This commit is contained in:
Oliver Hartmann 2024-03-20 11:28:20 +01:00
parent 2e0c412f67
commit f541e3d193

View File

@ -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,