Stephan Seitz
a37c97545f
Allow compilation via makefile
2022-01-23 16:27:25 +01:00
Stephan Seitz
19c56afc06
ci: print query loading times
2022-01-16 15:56:56 +01:00
antosha417
00ebda5fd8
remove ftdetect. add filetype hocon to minimal_init.lua
2022-01-16 14:59:39 +01:00
Stephan Seitz
c3f73e4b63
ci: Remove "ensure_installed" from minimal_init.lua
2021-12-20 18:16:45 +01:00
Stephan Seitz
771abaf531
ci: Add workflow for tests
2021-11-24 17:29:55 +01:00
Stephan Seitz
0f3c94cf72
Update run_tests to be more scalable with more test folders added
2021-11-24 17:29:55 +01:00
Stephan Seitz
8016b74cea
ci: Try out windows-2022
2021-11-24 14:47:07 +01:00
Stephan Seitz
7135321cc2
ci: use nvim v0.5.1 on CI
2021-10-21 19:50:23 +02:00
Cezary Drożak
e87ed0fdaa
feat: add "experimental" key to parsers
...
feat(ci): mark parsers as experimental in README
2021-10-07 22:43:09 +02:00
partizan
cd4c0a7526
test: Add tests for is_in_node_range ( #1756 )
...
* fix: is_in_node_range now includes end line and col
This fixes no indents at the end of python files
Refs #1136
* update scala highlights (#1760 )
* add type highlights
* add call expression highlights
* add function definition highlights
* add expression highlights
* add literals highlights
* add operator highlights
* add punctuation highlights
* add comment highlights
Co-authored-by: Stevan Milic <stevan.milic@tradecore.com >
* test: Add unit tests
* Revert "fix: is_in_node_range now includes end line and col"
This reverts commit 5a721fef5620eb2fae6d9cebe09bf7b230f2606f.
* refactor test
* apply stylua
* fix luacheck
* update `describe` text
* smallfix
Co-authored-by: Stevan Milic <stevan.milic@yahoo.com >
Co-authored-by: Stevan Milic <stevan.milic@tradecore.com >
2021-08-30 20:18:04 +02:00
Thomas Vigouroux
012e2161e3
chore: provide a script to repin a language
2021-08-23 09:18:03 +02:00
Santos Gallegos
8ab1a5e5f7
CI: don't require to have parsers installed to check for injections
2021-08-01 13:16:38 -05:00
Stephan Seitz
f5c318f341
Change install command on Mac
...
Fixes #1600
2021-07-19 21:28:32 +00:00
Stephan Seitz
b7364d923b
CI: remove LLVM compilation from Mac CI
2021-07-07 01:06:37 +02:00
Santos Gallegos
437e41e9fc
Luacheck: use config file to exclude files
2021-07-05 12:39:32 +02: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
Daniel Kempkens
ba45e0d3ed
CI: Improved parser installation logic
2021-05-18 19:10:06 +02:00
Daniel Kempkens
06f8689aea
CI: Install tree-sitter
2021-05-18 19:10:06 +02:00
Jędrzej Boczar
63a88c873f
move all tests to top-level tests/ directory
2021-04-23 21:21:38 +02:00
Jędrzej Boczar
d4e8d3e659
ignore Lua indent test files when doing style-check
2021-04-23 21:21:38 +02:00
Jędrzej Boczar
db1b6dc1cb
scripts: print test results summary with --summary
2021-04-23 21:21:38 +02:00
Jędrzej Boczar
975ef08616
scripts: fix wrong swapfile setting in minimal_init
2021-04-23 21:21:38 +02:00
Jędrzej Boczar
67f2c7149c
Initial sketch of automated indent tests
2021-04-23 21:21:38 +02:00
Stephan Seitz
8704b0f388
Allow failures for defined parsers
2021-04-22 18:37:04 +02:00
Stephan Seitz
e86544caa7
Try out llvm --HEAD
2021-04-22 15:38:18 +02:00
Stephan Seitz
006aceb574
fix(CI): install newer version of clang on MacOS
2021-04-22 15:38:18 +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
1fa1ddea84
fix(CI): add brew update
2021-03-16 18:52:43 +01: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
Jozef Grajciar
2f60b43c0f
Add CI for testing parsers compilation
2021-03-04 19:58:58 +01:00
Github Actions
d8f75f0b09
[docgen] Update README.md
...
skip-checks: true
2020-12-12 19:04:43 +01:00
Stephan Seitz
0a51d492a5
Add lockfile and make lockfile default install revision
2020-09-27 13:09:12 +02:00
Thomas Vigouroux
5d2b866518
ci: check capture names in queries
2020-09-11 12:02:35 +02:00
Stephan Seitz
ffe7d96dfd
feat(CI): auto-update README.md
2020-08-31 18:53:24 +02:00
Stephan Seitz
47b45ff883
feat(CI): print text what went wrong when README CI fails
2020-08-25 15:22:15 +02:00
Stephan Seitz
7c9ffe9e19
Fix #292 : Add parser links to README.md
2020-08-25 14:58:28 +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
Stephan Seitz
27d7a0ffff
Add style-check script
2020-07-06 11:15:17 +02:00