Skip to content

Commit

Permalink
Bump the version of Hare's grammar (helix-editor#7784)
Browse files Browse the repository at this point in the history
  • Loading branch information
atomcult authored and Schuyler Mortimer committed Jul 10, 2024
1 parent a6ded2c commit cdc22b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ indent = { tab-width = 8, unit = "\t" }

[[grammar]]
name = "hare"
source = { git = "https://git.sr.ht/~ecmma/tree-sitter-hare", rev = "bc26a6a949f2e0d98b7bfc437d459b250900a165" }
source = { git = "https://git.sr.ht/~ecmma/tree-sitter-hare", rev = "2495958aaf3f93581c87ec020164255e80655331" }

[[language]]
name = "devicetree"
Expand Down
5 changes: 4 additions & 1 deletion runtime/queries/hare/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
"break"
] @keyword.control.repeat

"return" @keyword.control.return
[
"return"
"yield"
] @keyword.control.return

[
"abort"
Expand Down

0 comments on commit cdc22b7

Please sign in to comment.