Commit graph

8 commits

Author SHA1 Message Date
Christoph Sax
5ec4217567 fix(t32): update indent queries & test
The latest release of the grammar changes the handling of consecutive
line breaks. This breaks the existing test for indents.

This commit updates the indent queries and fixes the associated test.
2023-09-14 20:07:02 +02:00
Pham Huy Hoang
78b54eb7f6 chore(injections)!: update injection syntax to 0.9
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
2023-08-12 17:34:15 +02:00
Christoph Sax
2fb7359828 feat(t32)!: update queries for new HLL node types
- Lock grammar to version 2.1.1
- Update query for syntax hightlighting
- fix missing locals query
- reduce number of "(identifier) @variable" highlight queries
- revert to capture @function.builtin for PRACTICE call expressions
2023-07-30 19:29:33 +02:00
Christian Clason
e58bbe83f9 lint(locals): use #set! to keep query linter happy 2023-06-22 08:39:17 +02:00
Pham Huy Hoang
9ec2a6bbda
tests: fix failed tests (#4901)
fix failed tests for tiger, t32 and wgsl
2023-06-05 09:52:36 +09:00
Christoph Sax
16cce8df58
feat(t32): add indent rules (#4782) 2023-05-18 16:40:13 +09:00
Amaan Qureshi
85330918f0 perf: remove match where possible 2023-04-21 18:24:17 -04:00
xasc
2d48cbc831 feat(t32): initial support 2022-12-21 23:57:06 +01:00