summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODOS.md4
-rw-r--r--lib/java.tmLanguage.json6
2 files changed, 9 insertions, 1 deletions
diff --git a/TODOS.md b/TODOS.md
index 9970849..da3a1ea 100644
--- a/TODOS.md
+++ b/TODOS.md
@@ -1,5 +1,9 @@
# Todo
+## Highlight
+- `(Cast) thing`
+- `Foo.class`
+
## Autocomplete
- Autocomplete POJO constructor This(T f, U g) { this.f = f; ... }
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"
},