aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install-parsers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install-parsers.lua')
-rwxr-xr-xscripts/install-parsers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-parsers.lua b/scripts/install-parsers.lua
index e3804cab8..2d083f3c3 100755
--- a/scripts/install-parsers.lua
+++ b/scripts/install-parsers.lua
@@ -19,10 +19,10 @@ end
vim.opt.runtimepath:append('.')
---@type async.Task
-local task = update and require('nvim-treesitter').update('all')
+local task = update and require('nvim-treesitter').update('all', { summary = true })
or require('nvim-treesitter').install(
#parsers > 0 and parsers or 'all',
- { force = true, generate = generate, max_jobs = max_jobs }
+ { force = true, summary = true, generate = generate, max_jobs = max_jobs }
)
local ok, err_or_ok = task:pwait(1800000) -- wait max. 30 minutes