mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
Improve check-queries (#1253)
- Add checks for injections. - Allow queries that start with [A-Z] for highlights only. - Don't stop on the first error, finish checking all queries.
This commit is contained in:
parent
972f70956a
commit
c1f61d4ca1
5 changed files with 36 additions and 15 deletions
|
|
@ -9,7 +9,7 @@ local M = {}
|
|||
|
||||
local EMPTY_ITER = function() end
|
||||
|
||||
M.built_in_query_groups = {'highlights', 'locals', 'folds', 'indents'}
|
||||
M.built_in_query_groups = {'highlights', 'locals', 'folds', 'indents', 'injections'}
|
||||
|
||||
-- Creates a function that checks whether a given query exists
|
||||
-- for a specific language.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue