Преглед на файлове

remove extra state push

Mitsuhiro Tanda преди 8 години
родител
ревизия
cc1e69ace3
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      public/app/plugins/datasource/prometheus/mode-prometheus.js

+ 1 - 2
public/app/plugins/datasource/prometheus/mode-prometheus.js

@@ -75,8 +75,7 @@ var PrometheusHighlightRules = function() {
       regex : '"[^"]*"|\'[^\']*\''
     }, {
       token : "punctuation.operator",
-      regex : ",",
-      push  : 'start-label-matcher'
+      regex : ","
     }, {
       token : "paren.rparen",
       regex : "}",