diff options
author | Benedikt Ritter | 2024-03-17 23:01:11 +0000 |
---|---|---|
committer | GitHub | 2024-03-17 23:01:11 +0000 |
commit | f7913c1a3bc7609c9c1d6eaa0fbd0e3dda18be63 (patch) | |
tree | 52a1021c5fd19c4f397819e009b7782abdccd806 /runtime/queries/groovy/locals.scm | |
parent | 8457652da139320fba7128e02fbd19fcf09ea235 (diff) |
Extend groovy support (#9677)
* Extend groovy support
Use more complete parser introduced in nvm-treesitter in
https://github.com/nvim-treesitter/nvim-treesitter/commit/d4dac523d2546afc266eb9b5a7986690b5319c41
* Update runtime/queries/groovy/locals.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Drop indent.scm for groovy
It was copied from the tree-sitter repository but is not
compatiblw with the way indent queries are implemented
in Helix.
* Adapt groovy highlights to helix syntax
* Update documentation
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries/groovy/locals.scm')
-rw-r--r-- | runtime/queries/groovy/locals.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/groovy/locals.scm b/runtime/queries/groovy/locals.scm new file mode 100644 index 00000000..380c4ad6 --- /dev/null +++ b/runtime/queries/groovy/locals.scm @@ -0,0 +1,6 @@ +(function_definition) @local.scope + +(parameter + name: (identifier) @local.definition) + +(identifier) @local.reference |