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 466f38350c.

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

* feat(solidity): more precise matching for revert statements
pull/10762/head
Valentin B 1 month ago committed by GitHub
parent 855568fa34
commit 380c7adcc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
[

Loading…
Cancel
Save