Skip to content

Commit

Permalink
Highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 3, 2024
1 parent 3bb2032 commit 8076907
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

["export" "alias" "set"] @keyword

["@" "==" "!=" "+" ":="] @operator
["@" "==" "!=" "+" ":=" ":"] @operator

[ "(" ")" "[" "]" "{{" "}}" "{" "}"] @punctuation.bracket

Expand Down
17 changes: 17 additions & 0 deletions test/highlight/recipes.just
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
foo:
# <- function
# ^ operator
body

@bar:
# <- operator
# ^ function
# ^ operator
body

# baz: foo bar
# # <- function
# # ^ operator
# # ^ function
# # ^ function
# body

0 comments on commit 8076907

Please sign in to comment.