aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-10-01 20:33:49 -0700
committerGitHub <noreply@github.com>2025-10-02 03:33:49 +0000
commit99bd52ba56a4b7c9a8cc50a6140180755e76fac6 (patch)
tree1395c682f5ca871ddc34595301fa44caabebcbf8
parentfix: remove redundant alternants (#8159) (diff)
downloadnvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.tar
nvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.tar.gz
nvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.tar.bz2
nvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.tar.lz
nvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.tar.xz
nvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.tar.zst
nvim-treesitter-99bd52ba56a4b7c9a8cc50a6140180755e76fac6.zip
feat(java): highlight wildcards (#8165)
-rw-r--r--runtime/queries/java/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/java/highlights.scm b/runtime/queries/java/highlights.scm
index df9ca14d4..641f1e3fd 100644
--- a/runtime/queries/java/highlights.scm
+++ b/runtime/queries/java/highlights.scm
@@ -235,6 +235,9 @@
":"
] @keyword.conditional.ternary)
+(wildcard
+ "?" @character.special)
+
; Loops
[
"for"