diff options
author | George Fraser <george@fivetran.com> | 2018-12-21 22:40:21 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2018-12-21 22:40:21 -0800 |
commit | 4271e64e2ea15c2ddab5a8d727da8907bc5d7109 (patch) | |
tree | 59cc17c12e9f17c21dc7728cafcb3ca566f65366 /lib | |
parent | d23ac72c88dbcc0ef5a3fe440a4c66678ec727f3 (diff) | |
download | java-language-server-4271e64e2ea15c2ddab5a8d727da8907bc5d7109.zip |
Simplify
Diffstat (limited to 'lib')
-rw-r--r-- | lib/java.tmLanguage.json | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/java.tmLanguage.json b/lib/java.tmLanguage.json index 68b9299..3d1ca8d 100644 --- a/lib/java.tmLanguage.json +++ b/lib/java.tmLanguage.json @@ -136,7 +136,7 @@ } ] }, - "line": { + "code": { "patterns": [ { "begin": "^ *([A-Z]\\w*|byte|short|int|long|char|float|double|boolean) +(?=\\w)", @@ -238,13 +238,6 @@ ] }, { - "include": "#code" - } - ] - }, - "code": { - "patterns": [ - { "begin": "(?<!\\.)\\b(class|interface|@interface)\\b +(\\w+)\\b", "beginCaptures": { "1": { @@ -330,7 +323,7 @@ "name": "meta.block.java", "patterns": [ { - "include": "#line" + "include": "#code" } ] }, |