aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/check-parsers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check-parsers.lua')
-rwxr-xr-xscripts/check-parsers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-parsers.lua b/scripts/check-parsers.lua
index c2eefd7c9..9d39af482 100755
--- a/scripts/check-parsers.lua
+++ b/scripts/check-parsers.lua
@@ -1,5 +1,5 @@
#!/usr/bin/env -S nvim -l
-vim.opt.runtimepath:append('.')
+vim.o.rtp = vim.o.rtp .. ',.'
local configs = require('nvim-treesitter.parsers')
local parsers = #_G.arg > 0 and { unpack(_G.arg) }