mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
CI: don't require to have parsers installed to check for injections
This commit is contained in:
parent
d8d45ffb63
commit
b2ce0800cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue