summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-12-22 15:43:42 -0800
committerGeorge Fraser <george@fivetran.com>2018-12-22 15:43:42 -0800
commit35f768c391cf3987bc66bcedfdc2e13ac4ed3494 (patch)
tree28f8b3c9ac76da7d1a7de4f592d8aadb2423ee3c /lib
parent8e2f34906b0c1ac0acd1f9df5bdd55a923f3b2f8 (diff)
downloadjava-language-server-35f768c391cf3987bc66bcedfdc2e13ac4ed3494.zip
Fix
Diffstat (limited to 'lib')
-rw-r--r--lib/java.tmLanguage.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/java.tmLanguage.json b/lib/java.tmLanguage.json
index acd9277..d2afc46 100644
--- a/lib/java.tmLanguage.json
+++ b/lib/java.tmLanguage.json
@@ -414,12 +414,15 @@
]
},
{
- "begin": "^ *(final)\\b",
+ "begin": "^ *(final) +(\\w+)",
"end": "(?=;)|$",
"name": "meta.variable.final.java",
"beginCaptures": {
"1": {
"name": "keyword.other.final"
+ },
+ "2": {
+ "name": "storage.type.java"
}
},
"patterns": [