diff options
author | George Fraser <george@fivetran.com> | 2018-12-27 16:16:00 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2018-12-27 16:16:00 -0800 |
commit | 631efb1963fe6edfd98d081eadd695eb75eaa529 (patch) | |
tree | 3edd93011791829f0685443502c76022cc333616 /lib | |
parent | 0a574c5ca3e5d404260179ae82695f5af9fcb170 (diff) | |
download | java-language-server-631efb1963fe6edfd98d081eadd695eb75eaa529.zip |
Enum args
Diffstat (limited to 'lib')
-rw-r--r-- | lib/java.tmLanguage.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/java.tmLanguage.json b/lib/java.tmLanguage.json index ee39a33..18f77c1 100644 --- a/lib/java.tmLanguage.json +++ b/lib/java.tmLanguage.json @@ -141,10 +141,33 @@ }, "patterns": [ { + "include": "#comments" + }, + { "match": "\\w+", "name": "variable.other.enum.constant" }, { + "begin": "\\(", + "end": "\\)", + "name": "meta.enum-args", + "beginCaptures": { + "0": { + "name": "keyword.other.begin-enum-args" + } + }, + "endCaptures": { + "0": { + "name": "keyword.other.end-enum-args" + } + }, + "patterns": [ + { + "include": "#code" + } + ] + }, + { "match": ",", "name": "keyword.other" }, |