C# highlighting - Fixed to highlight method calls, and changed break to be conditional instead of a repeat

This commit is contained in:
Steve Vermeulen 2020-07-19 13:32:32 -07:00 committed by Thomas Vigouroux
parent 870825e0e8
commit e6300a045a

View file

@ -2,6 +2,13 @@
(method_declaration
name: (identifier) @method)
(invocation_expression
(member_access_expression
name: (identifier) @method))
(invocation_expression
(identifier) @method)
((identifier) @field
(#match? @field "^_"))
@ -74,6 +81,7 @@
"if"
"else"
"switch"
"break"
"case"
] @conditional
@ -82,7 +90,6 @@
"for"
"do"
"continue"
"break"
"in"
"goto"
"foreach"