Highlight and,or,not,in as @keyword.operator

This commit is contained in:
Connor Lay (Clay) 2021-10-12 16:25:33 -07:00 committed by Stephan Seitz
parent 6bd551d3b7
commit 638891d401

View file

@ -150,19 +150,23 @@
; Reserved Keywords ; Reserved Keywords
[ [
"after" "after"
"and"
"catch" "catch"
"do" "do"
"end" "end"
"fn" "fn"
"in"
"not"
"or"
"rescue" "rescue"
"when" "when"
"else" "else"
] @keyword ] @keyword
; Operator Keywords
[
"and"
"in"
"not"
"or"
] @keyword.operator
; Capture Operator ; Capture Operator
(unary_operator (unary_operator
operator: "&" operator: "&"