fix(solidity): disable broken operators

This commit is contained in:
Christian Clason 2024-05-12 10:08:06 +02:00 committed by nvim-treesitter-bot[bot]
parent 6587d8e694
commit c4f65272a9

View file

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