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