mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
highlights(c_sharp): add heuristic for type highlight
This commit is contained in:
parent
40b749f7c0
commit
96c3512549
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue