Zheng PiaoDan
32d0baae44
feat: add indents.scm for nickel ( #4790 )
2023-05-13 02:49:39 +09:00
Amaan Qureshi
853b1ab39a
style: fill in missing code docs wherever applicable
2023-02-24 01:08:23 -08:00
Kiyoon Kim
b44871afb5
Add treesitter CLI in CI with Windows and mac
2023-02-15 03:23:38 -08:00
Stephan Seitz
41e013dd9a
ci: improve CI output on query error
2022-12-27 17:52:29 +01:00
Raymond Ha
30a45fc76b
test: Add test name to summary output
2022-12-13 21:09:54 +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
ObserverOfTime
370546d283
ci(readme): add experimental annotation
...
even when the grammar is unmaintained
2022-11-20 12:24:55 +01:00
Christian Clason
3b040ce854
test: remove bundled parsers in CI
...
ensure that queries are tested against parser version in lockfile
2022-11-01 13:41:33 +01:00
Stephan Seitz
9bfaf62e42
ci: relax check for valid captures (only check prefixes)
2022-09-29 09:06:50 +02:00
Kiyan
783c74cefc
chore: remove executable permissions on graphql spec file ( #3206 )
2022-07-22 10:14:48 +02:00
Christian Clason
a8d4fcb682
ci(macos): update to upstream changes in release
...
macOS release archive now uses `nvim-macos` as extracted directory.
2022-06-26 20:24:37 +02:00
Christian Clason
07eb437bb1
refactor!: update to Neovim 0.7 APIs
...
* set highlight groups via nvim_set_hl
* define autocommands via nvim_create_autocmd
* port plugin/nvim-treesitter.vim to Lua
* port healthcheck to Lua
2022-04-30 16:08:01 +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
Connor Lay (Clay)
b62750e328
Gleam indentation tests
2022-02-15 19:01:02 +01:00
Stephan Seitz
b9c6f3ed45
fix(makefile): add forgotten CXX_STANDARD again
2022-02-09 21:34:14 +01:00
Stephan Seitz
5639b74db0
chore(makefile): apply fixes to original makefile
2022-02-08 23:37:59 +01:00
Stephan Seitz
6599887899
fix: revert to basic makefile where all variables are set by Lua
...
Fixes #2463
2022-02-08 23:37:59 +01:00
Stephan Seitz
6c9b80d73c
fix: -Os should be used during compilation phase in makefile
2022-02-08 23:37:59 +01:00
Dundar Göc
322c7995b2
ci: remove unnecessary apt calls
2022-02-06 13:58:41 +01:00
kylo252
8980197d61
fix(makefile): scanner.c isn't always available
...
certain parsers like `tree-sitter-go` only contain parser.{c|cc}
2022-02-04 20:35:26 +01: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
kylo252
1ea964a13c
refactor(lockfile): use better jq parsing
2022-01-25 18:38:34 +01:00
kylo252
24688a02bc
refactor(makefile): better powershell handling
...
- add missing $(MKDIR) variable
- create a simple function to allow running `make clean`
without an error if a file doesn't exist
2022-01-25 13:41:01 +01:00
kylo252
c08821bb79
test: use powershell by default
2022-01-25 09:04:57 +01:00
kylo252
67f5acb882
refactor(installer): more modular makefile
...
- support both scanner.cc and scanner.c
- allow complete override for (CFLAGS,CXXFLAGS,LDFLAGS)
- add `clean` target
- add `install` target
- add windows support
2022-01-25 09:04:57 +01:00
Stephan Seitz
bb33aea03c
Set CXX standard per parser and fix Norg
2022-01-23 16:27:25 +01:00
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