소스 검색

remove label match operator from keyword.operator

Mitsuhiro Tanda 8 년 전
부모
커밋
8580b78ce6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public/app/plugins/datasource/prometheus/mode-prometheus.js

+ 1 - 1
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 : "[[(]"