mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(solidity): disable broken operators
This commit is contained in:
parent
6587d8e694
commit
c4f65272a9
1 changed files with 32 additions and 33 deletions
|
|
@ -262,39 +262,38 @@
|
|||
"=>"
|
||||
] @punctuation.delimiter
|
||||
|
||||
; Operators
|
||||
[
|
||||
"&&"
|
||||
"||"
|
||||
">>"
|
||||
">>>"
|
||||
"<<"
|
||||
"&"
|
||||
"^"
|
||||
"|"
|
||||
"+"
|
||||
"-"
|
||||
"*"
|
||||
"/"
|
||||
"%"
|
||||
"**"
|
||||
"="
|
||||
"<"
|
||||
"<="
|
||||
"=="
|
||||
"!="
|
||||
"!=="
|
||||
">="
|
||||
">"
|
||||
"!"
|
||||
"~"
|
||||
"-"
|
||||
"+"
|
||||
"++"
|
||||
"--"
|
||||
":="
|
||||
] @operator
|
||||
|
||||
; Operators: currently broken: https://github.com/JoranHonig/tree-sitter-solidity/issues/59
|
||||
;[
|
||||
; "&&"
|
||||
; "||"
|
||||
; ">>"
|
||||
; ">>>"
|
||||
; "<<"
|
||||
; "&"
|
||||
; "^"
|
||||
; "|"
|
||||
; "+"
|
||||
; "-"
|
||||
; "*"
|
||||
; "/"
|
||||
; "%"
|
||||
; "**"
|
||||
; "="
|
||||
; "<"
|
||||
; "<="
|
||||
; "=="
|
||||
; "!="
|
||||
; "!=="
|
||||
; ">="
|
||||
; ">"
|
||||
; "!"
|
||||
; "~"
|
||||
; "-"
|
||||
; "+"
|
||||
; "++"
|
||||
; "--"
|
||||
; ":="
|
||||
;] @operator
|
||||
[
|
||||
"delete"
|
||||
"new"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue