mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
highlights(c_sharp): use @method.call
This commit is contained in:
parent
7066b13e26
commit
c557c68729
1 changed files with 4 additions and 4 deletions
|
|
@ -20,12 +20,12 @@
|
||||||
|
|
||||||
(invocation_expression
|
(invocation_expression
|
||||||
(member_access_expression
|
(member_access_expression
|
||||||
name: (identifier) @method))
|
name: (identifier) @method.call))
|
||||||
|
|
||||||
(invocation_expression
|
(invocation_expression
|
||||||
function: (conditional_access_expression
|
function: (conditional_access_expression
|
||||||
(member_binding_expression
|
(member_binding_expression
|
||||||
name: (identifier) @method)))
|
name: (identifier) @method.call)))
|
||||||
|
|
||||||
(namespace_declaration
|
(namespace_declaration
|
||||||
name: [(qualified_name) (identifier)] @namespace)
|
name: [(qualified_name) (identifier)] @namespace)
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
(identifier) @type)
|
(identifier) @type)
|
||||||
|
|
||||||
(invocation_expression
|
(invocation_expression
|
||||||
(identifier) @method)
|
(identifier) @method.call)
|
||||||
|
|
||||||
(field_declaration
|
(field_declaration
|
||||||
(variable_declaration
|
(variable_declaration
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
; Generic Method invocation with generic type
|
; Generic Method invocation with generic type
|
||||||
(invocation_expression
|
(invocation_expression
|
||||||
function: (generic_name
|
function: (generic_name
|
||||||
. (identifier) @method))
|
. (identifier) @method.call))
|
||||||
|
|
||||||
(invocation_expression
|
(invocation_expression
|
||||||
(member_access_expression
|
(member_access_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue