aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Soares <48023091+guilhas07@users.noreply.github.com>2023-08-16 22:44:47 +0100
committerGitHub <noreply@github.com>2023-08-16 17:44:47 -0400
commita3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5 (patch)
tree2eed42657427ad2238dfbef58900cd80d21b4e04
parentfeat(julia): spell-check docstrings (diff)
downloadnvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.tar
nvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.tar.gz
nvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.tar.bz2
nvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.tar.lz
nvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.tar.xz
nvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.tar.zst
nvim-treesitter-a3b2e0dcdb7ce0beb1459e5a3fde4bd975c35fc5.zip
feat(c_sharp): add missing highlights
Added: * `??` and `??=` as operators * `alias` as keyword * `when` as conditional
-rw-r--r--queries/c_sharp/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 9895d8341..c67d29eb8 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -223,6 +223,7 @@
"switch"
"break"
"case"
+ "when"
(if_directive)
(elif_directive)
(else_directive)
@@ -289,6 +290,8 @@
">>="
">>>="
"=>"
+ "??"
+ "??="
] @operator
[
@@ -364,6 +367,7 @@
"checked"
"unchecked"
"fixed"
+ "alias"
] @keyword
[