diff options
author | George Fraser <george@fivetran.com> | 2019-04-01 20:07:21 -0700 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-04-01 20:15:48 -0700 |
commit | 2c9c8b7797280de3587a4233cfb2ba8bbb0ac1ff (patch) | |
tree | f45699b1156ee6721fe7e3568448409a5f75d9b1 /lib | |
parent | 525b9cf04a32540bf70928da767dd6d4d7dbb5ef (diff) | |
download | java-language-server-2c9c8b7797280de3587a4233cfb2ba8bbb0ac1ff.zip |
Highlight constants
Diffstat (limited to 'lib')
-rw-r--r-- | lib/java.tmLanguage.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/java.tmLanguage.json b/lib/java.tmLanguage.json index 603198f..7b0a920 100644 --- a/lib/java.tmLanguage.json +++ b/lib/java.tmLanguage.json @@ -145,7 +145,7 @@ }, { "match": "\\w+", - "name": "variable.other.enum.constant" + "name": "constant.numeric markup.italic" }, { "begin": "\\(", @@ -893,6 +893,10 @@ "constants": { "patterns": [ { + "match": "\\b[A-Z0-9_]+\\b", + "name": "constant.numeric markup.italic" + }, + { "match": "\\b(null|true|false)\\b", "name": "constant.numeric" }, |