mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
fix(c_sharp): highlight < & > as @punctuation.bracket only in type param lists
This fixes highlighting of `x > 4`, for example
This commit is contained in:
parent
2115c7d585
commit
31d2f60734
1 changed files with 2 additions and 2 deletions
|
|
@ -307,10 +307,10 @@
|
||||||
"}"
|
"}"
|
||||||
"("
|
"("
|
||||||
")"
|
")"
|
||||||
"<"
|
|
||||||
">"
|
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
(type_argument_list ["<" ">"] @punctuation.bracket)
|
||||||
|
|
||||||
[
|
[
|
||||||
(this_expression)
|
(this_expression)
|
||||||
(base_expression)
|
(base_expression)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue