Browse Source

grammar: try to detect regex values to avoid weird highlighting

tags/v1.1.2
Christian Nicolai 3 years ago
parent
commit
da21bc01cc
  1. 6
      CHANGELOG.md
  2. 4
      grammars/fluentd.cson

6
CHANGELOG.md

@ -1,5 +1,11 @@
# Changelog
## 1.1.2 (February 21, 2018)
IMPROVEMENTS:
- Detection of regex values (although not an official data type) to avoid weird highlighting
## 1.1.1 (November 25, 2017)
IMPROVEMENTS:

4
grammars/fluentd.cson

@ -139,6 +139,10 @@ repository:
]
}
{
match: '\/.+\/$'
name: 'value.string.regex.fluentd'
}
{
match: '\\b(\\d+)\\b'
name: 'value.constant.integer.fluentd'
}

Loading…
Cancel
Save