highlights(c_sharp): add heuristic for type highlight

This commit is contained in:
Stephan Seitz 2021-05-31 22:37:10 +02:00 committed by Stephan Seitz
parent 40b749f7c0
commit 96c3512549

View file

@ -12,6 +12,10 @@
(member_access_expression
name: (identifier) @method))
(member_access_expression
(identifier) @type (#match? @type "^[A-Z].*[a-z]")
(_) .)
(invocation_expression
(identifier) @method)