Explorar el Código

remove extra state push

Mitsuhiro Tanda hace 8 años
padre
commit
cc1e69ace3
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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 : "}",