aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-08-01 12:54:47 -0500
committerStephan Seitz <stephan.seitz@fau.de>2021-09-17 21:06:36 +0200
commitb2ce0800cf0d64ffd5dcdc1800c3475d7e690527 (patch)
tree4e7d1376b743df1a0698222635335edfc3bd6c35 /scripts
parentadd compound_lit.c test (diff)
downloadnvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.tar
nvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.tar.gz
nvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.tar.bz2
nvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.tar.lz
nvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.tar.xz
nvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.tar.zst
nvim-treesitter-b2ce0800cf0d64ffd5dcdc1800c3475d7e690527.zip
CI: don't require to have parsers installed to check for injections
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-queries.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-queries.lua b/scripts/check-queries.lua
index 18821280e..95d8f03be 100755
--- a/scripts/check-queries.lua
+++ b/scripts/check-queries.lua
@@ -18,7 +18,7 @@ local function extract_captures()
end
-- Complete captures for injections.
- local parsers = require("nvim-treesitter.info").installed_parsers()
+ local parsers = vim.tbl_keys(require("nvim-treesitter.parsers").list)
for _, lang in pairs(parsers) do
table.insert(captures["injections"], lang)
end