From 98de15858bffa91efbe2da91abfdc6e5e4366f21 Mon Sep 17 00:00:00 2001 From: Daryl Robbins Date: Fri, 22 May 2015 05:45:43 -0400 Subject: [PATCH] Java Properties: Highlight Keys Match colouring of YAML and JSON --- spec/properties.properties | 1 + styles/languages/java.less | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/spec/properties.properties b/spec/properties.properties index 1bd3193..51cd8a2 100644 --- a/spec/properties.properties +++ b/spec/properties.properties @@ -2,3 +2,4 @@ user=root schedule=* * 3 * * * retries=4 +dotted.property=true diff --git a/styles/languages/java.less b/styles/languages/java.less index 5a50691..bc34767 100644 --- a/styles/languages/java.less +++ b/styles/languages/java.less @@ -9,3 +9,13 @@ } } } + +.source.java-properties { + .meta.key-pair { + color: @red; + + & > .punctuation { + color: @syntax-text-color; + } + } +}