From d6009d6e52e495419222f0cd8ba640a4c2cd8722 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 20 Jan 2024 18:46:46 -0600 Subject: [PATCH] use all required treesitter parameters --- 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 f440189e..42e19d64 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -51,14 +51,14 @@ return { build = ':TSUpdate', config = function() vim.defer_fn(function() - -- FIX: Missing required fields in type `TSConfig` require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' }, - -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, - + sync_install = false, + ignore_install = {}, + modules = {}, highlight = { enable = true }, indent = { enable = true }, incremental_selection = {