aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/java/highlights.scm
diff options
context:
space:
mode:
authorKirawi2021-11-03 03:00:52 +0000
committerGitHub2021-11-03 03:00:52 +0000
commitee889aaa854d0036da3bae16252bc382e50b0df6 (patch)
tree6b084b76276c1c8f7b6af331329f89f5623f3b4a /runtime/queries/java/highlights.scm
parent7a0c4322eaeef7325878abe9a99adde4ad905f5e (diff)
Updated tree-sitter query scopes (#896)
* updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
Diffstat (limited to 'runtime/queries/java/highlights.scm')
-rw-r--r--runtime/queries/java/highlights.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/queries/java/highlights.scm b/runtime/queries/java/highlights.scm
index e7d793df..77902fce 100644
--- a/runtime/queries/java/highlights.scm
+++ b/runtime/queries/java/highlights.scm
@@ -59,14 +59,15 @@
(hex_integer_literal)
(decimal_integer_literal)
(octal_integer_literal)
+] @constant.numeric.integer
+
+[
(decimal_floating_point_literal)
(hex_floating_point_literal)
-] @number
+] @constant.numeric.float
-[
- (character_literal)
- (string_literal)
-] @string
+(character_literal) @constant.character
+(string_literal) @string
[
(true)