aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install-parsers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install-parsers.lua')
-rwxr-xr-xscripts/install-parsers.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install-parsers.lua b/scripts/install-parsers.lua
index c97c6eecc..855c73cbd 100755
--- a/scripts/install-parsers.lua
+++ b/scripts/install-parsers.lua
@@ -1,4 +1,5 @@
#!/usr/bin/env -S nvim -l
+vim.o.rtp = vim.o.rtp .. ',.'
local generate = false
local update = false
@@ -16,8 +17,6 @@ for i = 1, #_G.arg do
end
end
-vim.opt.runtimepath:append('.')
-
---@type async.Task
local task = update and require('nvim-treesitter').update('all', { summary = true })
or require('nvim-treesitter').install(