mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
ci: fix check for valid capture
Arguments to vim.startswith where swapped. Prefix has to go second.
This commit is contained in:
parent
faf78ce12a
commit
c8afa9fd3f
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ local function do_check()
|
|||
local is_valid = (
|
||||
vim.startswith(capture, "_") -- Helpers.
|
||||
or list_any(captures[query_type], function(documented_capture)
|
||||
return vim.startswith(documented_capture, capture)
|
||||
return vim.startswith(capture, documented_capture)
|
||||
end)
|
||||
)
|
||||
if not is_valid then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue