mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -04:00
feat(c_sharp): add missing highlights
Added: * `??` and `??=` as operators * `alias` as keyword * `when` as conditional
This commit is contained in:
parent
3fbf513829
commit
a3b2e0dcdb
1 changed files with 4 additions and 0 deletions
|
|
@ -223,6 +223,7 @@
|
||||||
"switch"
|
"switch"
|
||||||
"break"
|
"break"
|
||||||
"case"
|
"case"
|
||||||
|
"when"
|
||||||
(if_directive)
|
(if_directive)
|
||||||
(elif_directive)
|
(elif_directive)
|
||||||
(else_directive)
|
(else_directive)
|
||||||
|
|
@ -289,6 +290,8 @@
|
||||||
">>="
|
">>="
|
||||||
">>>="
|
">>>="
|
||||||
"=>"
|
"=>"
|
||||||
|
"??"
|
||||||
|
"??="
|
||||||
] @operator
|
] @operator
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -364,6 +367,7 @@
|
||||||
"checked"
|
"checked"
|
||||||
"unchecked"
|
"unchecked"
|
||||||
"fixed"
|
"fixed"
|
||||||
|
"alias"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue