summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-12-21 22:40:21 -0800
committerGeorge Fraser <george@fivetran.com>2018-12-21 22:40:21 -0800
commit4271e64e2ea15c2ddab5a8d727da8907bc5d7109 (patch)
tree59cc17c12e9f17c21dc7728cafcb3ca566f65366 /lib
parentd23ac72c88dbcc0ef5a3fe440a4c66678ec727f3 (diff)
downloadjava-language-server-4271e64e2ea15c2ddab5a8d727da8907bc5d7109.zip
Simplify
Diffstat (limited to 'lib')
-rw-r--r--lib/java.tmLanguage.json11
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"
}
]
},