From c51f84a12e838ad7094e9ced0e070f90bce08d24 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Tue, 17 Oct 2017 12:19:56 +0900 Subject: [PATCH] remove label match operator from keyword.operator --- public/app/plugins/datasource/prometheus/mode-prometheus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/prometheus/mode-prometheus.js b/public/app/plugins/datasource/prometheus/mode-prometheus.js index 094faf40f85..bc28ebce87b 100644 --- a/public/app/plugins/datasource/prometheus/mode-prometheus.js +++ b/public/app/plugins/datasource/prometheus/mode-prometheus.js @@ -46,7 +46,7 @@ var PrometheusHighlightRules = function() { regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b" }, { token : "keyword.operator", - regex : "\\+|\\-|\\*|\\/|%|\\^|=|==|!=|<=|>=|<|>" + regex : "\\+|\\-|\\*|\\/|%|\\^|==|!=|<=|>=|<|>" }, { token : "paren.lparen", regex : "[[(]"