mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
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>
This commit is contained in:
parent
cdef4f8a70
commit
990378a46b
4 changed files with 112 additions and 0 deletions
|
@ -3125,3 +3125,16 @@ indent = { tab-width = 2, unit = " " }
|
|||
[[grammar]]
|
||||
name = "pkl"
|
||||
source = { git = "https://github.com/apple/tree-sitter-pkl", rev = "c03f04a313b712f8ab00a2d862c10b37318699ae" }
|
||||
|
||||
[[language]]
|
||||
name = "groovy"
|
||||
language-id = "groovy"
|
||||
scope = "source.groovy"
|
||||
file-types = ["groovy", "jenkinsfile", { glob = "Jenkinsfile" }, { glob = "Jenkinsfile.*" }]
|
||||
shebangs = ["groovy"]
|
||||
comment-token = "//"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
||||
[[grammar]]
|
||||
name = "groovy"
|
||||
source = { git = "https://github.com/Decodetalkers/tree-sitter-groovy", rev = "7e023227f46fee428b16a0288eeb0f65ee2523ec" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue