mirror of
https://github.com/cmur2/language-fluentd.git
synced 2024-12-22 02:54:25 +01:00
grammar: try to detect regex values to avoid weird highlighting
This commit is contained in:
parent
78ea23f555
commit
da21bc01cc
@ -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:
|
||||
|
@ -138,6 +138,10 @@ repository:
|
||||
{include: 'source.json'}
|
||||
]
|
||||
}
|
||||
{
|
||||
match: '\/.+\/$'
|
||||
name: 'value.string.regex.fluentd'
|
||||
}
|
||||
{
|
||||
match: '\\b(\\d+)\\b'
|
||||
name: 'value.constant.integer.fluentd'
|
||||
|
Loading…
Reference in New Issue
Block a user