Commit Graph

23 Commits

Author SHA1 Message Date
Stephan Seitz
41e013dd9a ci: improve CI output on query error 2022-12-27 17:52:29 +01:00
Stephan Seitz
c8afa9fd3f ci: fix check for valid capture
Arguments to vim.startswith where swapped. Prefix has to go second.
2022-11-25 09:42:20 +02:00
Stephan Seitz
9bfaf62e42 ci: relax check for valid captures (only check prefixes) 2022-09-29 09:06:50 +02:00
Stephan Seitz
901b31f66c ci: don't skip swift anymore
I think this was a nvim 0.6 issue
2022-04-15 18:35:17 +02:00
Stephan Seitz
acdec99163 chore: update formatting for stylua update 2022-04-02 18:25:47 +02:00
dundargoc
f42b8a9d10 ci: make io_print accept nil as input argument (#2445)
Convert nil to an empty string, which mimicks the behavior of standard
print
2022-02-04 12:02:01 +01:00
Dundar Göc
6799824f6b ci: skip swift check on neovim stable
This is meant as a temporary workaround until neovim 0.7 is released.

More context: https://github.com/nvim-treesitter/nvim-treesitter/issues/2313#issuecomment-1025258357
2022-01-31 23:05:51 +01:00
Dundar Göc
10989cde1b ci: prefer io.write instead of print to have full control of output
This should prevent different output formats on windows and unix.
2022-01-31 21:17:33 +01:00
Dundar Göc
efedf3510a ci: add folds to CI output to better group related information 2022-01-30 22:52:10 +01:00
Stephan Seitz
19c56afc06 ci: print query loading times 2022-01-16 15:56:56 +01:00
Santos Gallegos
8ab1a5e5f7 CI: don't require to have parsers installed to check for injections 2021-08-01 13:16:38 -05:00
Santos Gallegos
be8f656087 Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
Santos Gallegos
c1f61d4ca1 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.
2021-05-31 17:03:27 +00:00
Stephan Seitz
8704b0f388 Allow failures for defined parsers 2021-04-22 18:37:04 +02:00
Stephan Seitz
966096b502 fix(CI): ensure parsers that don't require tree-sitter CLI are installed 2021-04-22 15:38:18 +02:00
Stephan Seitz
d727fffe41 Use installed parsers in CI check 2021-03-16 18:52:43 +01:00
Stephan Seitz
28bc7a0703 Skip parsers in query check that are not installed 2021-03-16 18:52:43 +01:00
Stephan Seitz
6cd211f647 Mark several invalid queries 2021-03-16 18:52:43 +01:00
Stephan Seitz
9b6b2543e8 Allow multiple errors in CI 2021-03-16 18:52:43 +01:00
Thomas Vigouroux
5d2b866518 ci: check capture names in queries 2020-09-11 12:02:35 +02:00
Stephan Seitz
31d1f068fd checkhealth for all query groups 2020-07-15 16:28:48 +02:00
Stephan Seitz
01c9f823f6 Also check textobjects queries in check-queries.lua 2020-07-14 22:34:43 +02:00
Stephan Seitz
c42c38a834 Add workflow for checking query files 2020-07-14 18:31:34 +02:00