feat(lua): replace operator list with field

This commit is contained in:
Christian Clason
2025-12-31 13:47:33 +01:00
committed by Christian Clason
parent 7efc1b58a8
commit d6ce707613

View File

@@ -70,36 +70,18 @@
] @keyword.function)
; Operators
(binary_expression
operator: _ @operator)
(unary_expression
operator: _ @operator)
[
"and"
"not"
"or"
] @keyword.operator
[
"+"
"-"
"*"
"/"
"%"
"^"
"#"
"=="
"~="
"<="
">="
"<"
">"
"="
"&"
"~"
"|"
"<<"
">>"
"//"
".."
] @operator
; Punctuations
[
";"