mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
chore: update formatting for stylua update
This commit is contained in:
parent
d8c47332c4
commit
acdec99163
2 changed files with 69 additions and 87 deletions
|
|
@ -65,9 +65,9 @@ local function do_check()
|
|||
if query then
|
||||
for _, capture in ipairs(query.captures) do
|
||||
local is_valid = (
|
||||
vim.startswith(capture, "_") -- Helpers.
|
||||
or vim.tbl_contains(captures[query_type], capture)
|
||||
)
|
||||
vim.startswith(capture, "_") -- Helpers.
|
||||
or vim.tbl_contains(captures[query_type], capture)
|
||||
)
|
||||
if not is_valid then
|
||||
local error = string.format("(x) Invalid capture @%s in %s for %s.", capture, query_type, lang)
|
||||
io_print(error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue