Browse Source

grammar: try to detect regex values to avoid weird highlighting

tags/v1.1.2
Christian Nicolai 2 years ago
parent
commit
da21bc01cc
2 changed files with 10 additions and 0 deletions
  1. +6
    -0
      CHANGELOG.md
  2. +4
    -0
      grammars/fluentd.cson

+ 6
- 0
CHANGELOG.md View File

@@ -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
- 0
grammars/fluentd.cson View File

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


Loading…
Cancel
Save