mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(tests): allow check-queries to take list of parsers
`./scripts/check-queries.lua foo bar baz`
This commit is contained in:
parent
ffb19d5dee
commit
efda19a54a
1 changed files with 1 additions and 1 deletions
|
|
@ -46,8 +46,8 @@ end
|
|||
|
||||
local function do_check()
|
||||
local timings = {}
|
||||
local parsers = require("nvim-treesitter.info").installed_parsers()
|
||||
local queries = require "nvim-treesitter.query"
|
||||
local parsers = #_G.arg > 0 and { unpack(_G.arg) } or require("nvim-treesitter.info").installed_parsers()
|
||||
local query_types = queries.built_in_query_groups
|
||||
|
||||
local captures = extract_captures()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue