Skip to content

Commit

Permalink
Java Properties: Highlight Keys
Browse files Browse the repository at this point in the history
Match colouring of YAML and JSON
  • Loading branch information
Daryl Robbins committed May 22, 2015
1 parent fc6b0e7 commit 98de158
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/properties.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
user=root
schedule=* * 3 * * *
retries=4
dotted.property=true
10 changes: 10 additions & 0 deletions styles/languages/java.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@
}
}
}

.source.java-properties {
.meta.key-pair {
color: @red;

& > .punctuation {
color: @syntax-text-color;
}
}
}

0 comments on commit 98de158

Please sign in to comment.