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

@ -648,7 +648,7 @@
"revision": "ba1b3868eaa960b945593404af9a7c2f296d3643"
},
"solidity": {
"revision": "b5a23ead0f69d38b5c9a630f52f5c129132c16ed"
"revision": "e8bd851a3c95ff277e49be07d0e20dfa9ac3700c"
},
"soql": {
"revision": "c99ad4b16d112fea91745e3f1b769754239fdaba"

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"