diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-05-31 22:37:10 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-06-01 21:53:21 +0200 |
| commit | 96c35125497a2abb3c4823794e9aaaa34c1a7a9a (patch) | |
| tree | 216a41cf4ce69f8f53a0258d3ff0b051c3178523 | |
| parent | 40b749f7c0c953c16ca018de9b49171115ed79d3 (diff) | |
highlights(c_sharp): add heuristic for type highlight
| -rw-r--r-- | queries/c_sharp/highlights.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm index f25e1643..bbfae271 100644 --- a/queries/c_sharp/highlights.scm +++ b/queries/c_sharp/highlights.scm @@ -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) |
