mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -04:00
Update parsers with C# fixes (#1910)
* highlights(c_sharp): fix queries for parser update * Update c_sharp parser * Fix generic method
This commit is contained in:
parent
10419ee747
commit
57d3126ac1
2 changed files with 7 additions and 6 deletions
|
|
@ -135,12 +135,13 @@
|
|||
(generic_name
|
||||
(identifier) @type))
|
||||
|
||||
type: (generic_name
|
||||
(identifier) @type)
|
||||
|
||||
(_
|
||||
type: (generic_name
|
||||
(identifier) @type))
|
||||
; Generic Method invocation with generic type
|
||||
(invocation_expression
|
||||
function: (generic_name) @method)
|
||||
function: (generic_name
|
||||
. (identifier) @method))
|
||||
|
||||
(invocation_expression
|
||||
(member_access_expression
|
||||
|
|
@ -368,7 +369,7 @@ type: (generic_name
|
|||
"fixed"
|
||||
] @keyword
|
||||
|
||||
(parameter_modifier "this" @keyword)
|
||||
(parameter_modifier) @operator
|
||||
|
||||
(query_expression
|
||||
(_ [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue