Skip to content

Commit

Permalink
feat: add highlight queries
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Mar 12, 2022
1 parent eabab08 commit ebc6739
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions queries/luap/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
(character) @character
(".") @punctuation.delimiter

[
(anchor_end)
"^"
] @punctuation.special

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

[
(zero_or_more)
(shortest_zero_or_more)
(one_or_more)
(zero_or_one)
] @operator

(class) @keyword

(balanced_match
first: (character) @parameter
last: (character) @parameter
)

0 comments on commit ebc6739

Please sign in to comment.