--- name: Java Properties fileTypes: - properties scopeName: source.java-props uuid: 2A28E50A-6B1D-11D9-8689-000D93589AF6 patterns: - name: comment.line.number-sign.java-props captures: "1": name: punctuation.definition.comment.java-props match: ([#!])(.+)?$\n? - captures: "1": name: keyword.other.java-props "2": name: punctuation.separator.key-value.java-props match: ^([^:=]+)([:=])(.*)$ comment: Not compliant with the properties file spec, but this works for me, and I'm the one who counts around here. keyEquivalent: ^~J