aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java/highlights.scm
diff options
context:
space:
mode:
authorPham Huy Hoang <hoangtun0810@gmail.com>2023-10-06 12:22:53 +0900
committerGitHub <noreply@github.com>2023-10-06 12:22:53 +0900
commitdb7adb21e6f17528b0f639f36641ce59d65eb68f (patch)
treea607b51d7ba84f4a385a05b77e35c56a9f2b1648 /queries/java/highlights.scm
parentfix(haskell): highlight fixes (#5470) (diff)
downloadnvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.tar
nvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.tar.gz
nvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.tar.bz2
nvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.tar.lz
nvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.tar.xz
nvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.tar.zst
nvim-treesitter-db7adb21e6f17528b0f639f36641ce59d65eb68f.zip
java(highlights): add missing import class pattern (#5483)
Diffstat (limited to 'queries/java/highlights.scm')
-rw-r--r--queries/java/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm
index 9a953eee0..3b1a55371 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -105,8 +105,8 @@
((field_access
object: (identifier) @type)
(#lua-match? @type "^[A-Z]"))
-((scoped_identifier
- scope: (identifier) @type)
+(scoped_identifier
+ (identifier) @type
(#lua-match? @type "^[A-Z]"))
; Fields