ace: fix braces highlight in prometheus (#9212)

This commit is contained in:
Alexander Zobnin
2017-09-11 16:49:15 +03:00
committed by Torkel Ödegaard
parent 293daf2ca1
commit b1580bf385

View File

@@ -68,17 +68,17 @@ var PrometheusHighlightRules = function() {
token : "label.name",
regex : '[a-zA-Z_][a-zA-Z0-9_]*'
}, {
token : "label.matching_operator",
token : "keyword.operator",
regex : '=|!=|=~|!~'
}, {
token : "label.value",
token : "text",
regex : '"[^"]*"|\'[^\']*\''
}, {
token : "label.matching_delimiter",
token : "punctuation.operator",
regex : ",",
push : 'start-label-matcher'
}, {
token : "label.matching_end",
token : "paren.rparen",
regex : "}",
next : "start"
} ]