Commit e5f84484 by Torkel Ödegaard

prometheus: another prometheus syntax highlight fix, #9212, #9167

parent b1580bf3
......@@ -65,13 +65,13 @@ var PrometheusHighlightRules = function() {
regex : "\\s+"
} ],
"start-label-matcher" : [ {
token : "label.name",
token : "keyword",
regex : '[a-zA-Z_][a-zA-Z0-9_]*'
}, {
token : "keyword.operator",
regex : '=|!=|=~|!~'
regex : '=~|=|!~|!='
}, {
token : "text",
token : "string",
regex : '"[^"]*"|\'[^\']*\''
}, {
token : "punctuation.operator",
......
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