Commit graph

13 commits

Author SHA1 Message Date
Pham Huy Hoang
107e61afb7 refactor: Remove all (ERROR) @error captures
As discussed in PR#5421, capturing `@error` is inconsistent, requiring
deep nesting (or priority) in order to correctly have red backgrounds to
it.

Some queries has this capture, some don't. For consistency purposes,
removing all of them is more preferable.

For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)`
to your custom queries.
2023-10-25 18:18:50 +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
Amaan Qureshi
b39e6bd615 chore(smali): add tests 2023-04-25 02:37:31 -04:00
Amaan Qureshi
9f157094cd feat(smali): update queries from upstream parser 2023-04-25 02:37:31 -04:00
Amaan Qureshi
85330918f0 perf: remove match where possible 2023-04-21 18:24:17 -04:00
Amaan Qureshi
c79c37927b refactor(smali): refactor queries from upstream 2023-04-17 22:50:34 -04:00
George Harker
cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00
Amaan Qureshi
5a87bc98da feat: add @comment.documentation where applicable 2023-03-05 17:15:32 -05:00
Amaan Qureshi
8c4a22fd50 feat(smali): improve queries 2023-02-22 14:11:22 +01:00
Amaan Q
5b8b711926 refactor: move method and end_method to @keyword.function 2023-01-09 21:24:54 +01:00
Amaan Q
d13a0d563b fix: character_literal is no longer unsupported :) 2023-01-09 21:24:54 +01:00
Amaan Qureshi
1735990aa9 feat: add character_literal query
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-01-09 21:24:54 +01:00
Amaan Q
e1f2bb2fcf feat: add smali query 2023-01-09 21:24:54 +01:00