aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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 f06d3ee46..f2fd56082 100755
--- a/scripts/install-parsers.lua
+++ b/scripts/install-parsers.lua
@@ -22,8 +22,8 @@ vim.opt.runtimepath:append('.')
vim.fn.mkdir(vim.fn.stdpath('cache'), 'p')
---@type async.Task
-local task = update and require('nvim-treesitter.install').update('all')
- or require('nvim-treesitter.install').install(
+local task = update and require('nvim-treesitter').update('all')
+ or require('nvim-treesitter').install(
#parsers > 0 and parsers or 'all',
{ force = true, generate = generate, max_jobs = max_jobs }
)