aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIron-E <36409591+Iron-E@users.noreply.github.com>2023-05-04 19:37:29 +0000
committerGitHub <noreply@github.com>2023-05-04 15:37:29 -0400
commit2115c7d5852c5d63ca7605dda92076ad3ec3ed4b (patch)
treeee5cd89e9eca974405f807cff477d89e74fcae2a
parentUpdate parsers: dart, llvm (#4755) (diff)
downloadnvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.tar
nvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.tar.gz
nvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.tar.bz2
nvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.tar.lz
nvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.tar.xz
nvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.tar.zst
nvim-treesitter-2115c7d5852c5d63ca7605dda92076ad3ec3ed4b.zip
feat(c_sharp): add capture for ternary operators
-rw-r--r--queries/c_sharp/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index 993609485..e2dc3720c 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -298,6 +298,8 @@
":"
] @punctuation.delimiter
+(conditional_expression ["?" ":"] @conditional.ternary)
+
[
"["
"]"