feat(solidity): add missing operators for highlights (#10757)

* feat(solidity): add missing operators for highlights

* fix(solidity): remove invalid operator from highlight queries

* Revert "fix(solidity): remove invalid operator from highlight queries"

This reverts commit 466f38350c091695dec1729f6fbd6476f2bb7334.

* feat(solidity): add highlight query for revert statements with custom errors

* feat(solidity): more precise matching for revert statements
This commit is contained in:
Valentin B 2024-05-14 10:53:59 +02:00 committed by GitHub
parent 855568fa34
commit 380c7adcc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,6 +75,7 @@
; Invocations
(emit_statement . (identifier) @type)
(revert_statement error: (identifier) @type)
(modifier_invocation (identifier) @function)
(call_expression . (member_expression property: (identifier) @function.method))
@ -223,6 +224,16 @@
"new"
"++"
"--"
"+="
"-="
"*="
"/="
"%="
"^="
"&="
"|="
"<<="
">>="
] @operator
[