Commit b1580bf3 by Alexander Zobnin Committed by Torkel Ödegaard

ace: fix braces highlight in prometheus (#9212)

parent 293daf2c
......@@ -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"
} ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment