summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-10-15 22:09:01 -0600
committerGeorge Fraser <george@fivetran.com>2018-12-02 12:17:04 -0800
commitbb8d65e1d7f7a05aa9f6938b8f0d416eced6df2f (patch)
treefc823e9e6f07fda98f21398fe1a69bd7a7b744ff /lib
parent0d1b988df58c17bfeaec1c1e4da4335dc3992855 (diff)
downloadjava-language-server-bb8d65e1d7f7a05aa9f6938b8f0d416eced6df2f.zip
Color
Diffstat (limited to 'lib')
-rw-r--r--lib/java.tmLanguage.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/java.tmLanguage.json b/lib/java.tmLanguage.json
index 88f3195..5b262d5 100644
--- a/lib/java.tmLanguage.json
+++ b/lib/java.tmLanguage.json
@@ -166,13 +166,13 @@
},
{
"match": "\\b(new|instanceof)\\b",
- "name": "keyword.other.java"
+ "name": "keyword.control.java"
},
{
"match": "\\.(class)\\b",
"captures": {
"1": {
- "name": "keyword.other.java"
+ "name": "keyword.control.java"
}
}
},
@@ -226,7 +226,7 @@
"patterns": [
{
"match": "\\b(null|true|false)\\b",
- "name": "constant.language.null"
+ "name": "constant.numeric.java"
},
{
"match": "(?x)\n\\b(?<!\\$)\n0(x|X)\n(\n (?<!\\.)[0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?[Ll]?(?!\\.)\n |\n (\n [0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?\\.?\n |\n ([0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?)?\\.[0-9a-fA-F]([0-9a-fA-F_]*[0-9a-fA-F])?\n )\n [Pp][+-]?[0-9]([0-9_]*[0-9])?[FfDd]?\n)\n\\b(?!\\$)",