aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/groovy/folds.scm
diff options
context:
space:
mode:
authorBenedikt Ritter2024-03-17 23:01:11 +0000
committerGitHub2024-03-17 23:01:11 +0000
commitf7913c1a3bc7609c9c1d6eaa0fbd0e3dda18be63 (patch)
tree52a1021c5fd19c4f397819e009b7782abdccd806 /runtime/queries/groovy/folds.scm
parent8457652da139320fba7128e02fbd19fcf09ea235 (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/folds.scm')
-rw-r--r--runtime/queries/groovy/folds.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/groovy/folds.scm b/runtime/queries/groovy/folds.scm
new file mode 100644
index 00000000..354861a6
--- /dev/null
+++ b/runtime/queries/groovy/folds.scm
@@ -0,0 +1,6 @@
+[
+ (argument_list)
+ (closure)
+ (list)
+ (map)
+] @fold