aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/groovy/injections.scm
diff options
context:
space:
mode:
authorVolodymyr Chernetskyi2024-02-19 17:37:02 +0000
committerGitHub2024-02-19 17:37:02 +0000
commit990378a46be2138b2f74799d1af8955390360c4e (patch)
tree399f19a914ea757599b9df86a4162176e7e708ab /runtime/queries/groovy/injections.scm
parentcdef4f8a701f921c29fdfe66f104a2edac7fe05c (diff)
Add Groovy grammar (#9350)
* Add Groovy grammar * Rewrite Neovim captures into Helix for Groovy * Simplify Groovy injections Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Remove Neovim's spell from Groovy highlights Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Apply suggestions to languages.toml * Escape backslash in groovy highlights.scm --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries/groovy/injections.scm')
-rw-r--r--runtime/queries/groovy/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/groovy/injections.scm b/runtime/queries/groovy/injections.scm
new file mode 100644
index 00000000..e4509a5f
--- /dev/null
+++ b/runtime/queries/groovy/injections.scm
@@ -0,0 +1,2 @@
+([(line_comment) (block_comment)] @injection.content
+ (#set! injection.language "comment"))