Skip to content

Commit 1fb8899

Browse files
Added fields to silence treesitter
1 parent 42d11b9 commit 1fb8899

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

init.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,14 @@ vim.defer_fn(function()
124124
require('nvim-treesitter.configs').setup {
125125
-- Add languages to be installed here that you want installed for treesitter
126126
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' },
127-
128127
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
129128
auto_install = false,
130-
129+
-- Install languages synchronously (only applied to `ensure_installed`)
130+
sync_install = false,
131+
-- List of parsers to ignore installing
132+
ignore_install = {},
133+
-- You can specify additional Treesitter modules here: -- For example: -- playground = {--enable = true,-- },
134+
modules = {},
131135
highlight = { enable = true },
132136
indent = { enable = true },
133137
incremental_selection = {

0 commit comments

Comments
 (0)