fix(solidity): re-enable unbroken operators

This commit is contained in:
Christian Clason 2024-05-26 11:29:35 +02:00
parent 488e39a8f1
commit ba149fa3b1
2 changed files with 34 additions and 33 deletions

View file

@ -262,38 +262,39 @@
"=>"
] @punctuation.delimiter
; Operators: currently broken: https://github.com/JoranHonig/tree-sitter-solidity/issues/59
;[
; "&&"
; "||"
; ">>"
; ">>>"
; "<<"
; "&"
; "^"
; "|"
; "+"
; "-"
; "*"
; "/"
; "%"
; "**"
; "="
; "<"
; "<="
; "=="
; "!="
; "!=="
; ">="
; ">"
; "!"
; "~"
; "-"
; "+"
; "++"
; "--"
; ":="
;] @operator
; Operators
[
"&&"
"||"
">>"
">>>"
"<<"
"&"
"^"
"|"
"+"
"-"
"*"
"/"
"%"
"**"
"="
"<"
"<="
"=="
"!="
"!=="
">="
">"
"!"
"~"
"-"
"+"
"++"
"--"
":="
] @operator
[
"delete"
"new"