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/injections.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/injections.scm')
-rw-r--r-- | runtime/queries/groovy/injections.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/queries/groovy/injections.scm b/runtime/queries/groovy/injections.scm index e4509a5f..1c04c65f 100644 --- a/runtime/queries/groovy/injections.scm +++ b/runtime/queries/groovy/injections.scm @@ -1,2 +1,5 @@ -([(line_comment) (block_comment)] @injection.content - (#set! injection.language "comment")) +((comment) @injection.content + (#set! injection.language "comment")) + +((groovy_doc) @injection.content + (#set! injection.language "comment")) |