mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(solidity): re-enable unbroken operators
This commit is contained in:
parent
488e39a8f1
commit
ba149fa3b1
2 changed files with 34 additions and 33 deletions
|
|
@ -648,7 +648,7 @@
|
|||
"revision": "ba1b3868eaa960b945593404af9a7c2f296d3643"
|
||||
},
|
||||
"solidity": {
|
||||
"revision": "b5a23ead0f69d38b5c9a630f52f5c129132c16ed"
|
||||
"revision": "e8bd851a3c95ff277e49be07d0e20dfa9ac3700c"
|
||||
},
|
||||
"soql": {
|
||||
"revision": "c99ad4b16d112fea91745e3f1b769754239fdaba"
|
||||
|
|
|
|||
|
|
@ -262,38 +262,39 @@
|
|||
"=>"
|
||||
] @punctuation.delimiter
|
||||
|
||||
; Operators: currently broken: https://github.com/JoranHonig/tree-sitter-solidity/issues/59
|
||||
;[
|
||||
; "&&"
|
||||
; "||"
|
||||
; ">>"
|
||||
; ">>>"
|
||||
; "<<"
|
||||
; "&"
|
||||
; "^"
|
||||
; "|"
|
||||
; "+"
|
||||
; "-"
|
||||
; "*"
|
||||
; "/"
|
||||
; "%"
|
||||
; "**"
|
||||
; "="
|
||||
; "<"
|
||||
; "<="
|
||||
; "=="
|
||||
; "!="
|
||||
; "!=="
|
||||
; ">="
|
||||
; ">"
|
||||
; "!"
|
||||
; "~"
|
||||
; "-"
|
||||
; "+"
|
||||
; "++"
|
||||
; "--"
|
||||
; ":="
|
||||
;] @operator
|
||||
; Operators
|
||||
[
|
||||
"&&"
|
||||
"||"
|
||||
">>"
|
||||
">>>"
|
||||
"<<"
|
||||
"&"
|
||||
"^"
|
||||
"|"
|
||||
"+"
|
||||
"-"
|
||||
"*"
|
||||
"/"
|
||||
"%"
|
||||
"**"
|
||||
"="
|
||||
"<"
|
||||
"<="
|
||||
"=="
|
||||
"!="
|
||||
"!=="
|
||||
">="
|
||||
">"
|
||||
"!"
|
||||
"~"
|
||||
"-"
|
||||
"+"
|
||||
"++"
|
||||
"--"
|
||||
":="
|
||||
] @operator
|
||||
|
||||
[
|
||||
"delete"
|
||||
"new"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue