chore: update formatting for stylua update

This commit is contained in:
Stephan Seitz 2022-04-01 00:51:12 +02:00
parent d8c47332c4
commit acdec99163
2 changed files with 69 additions and 87 deletions

View file

@ -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)