mirror of
https://github.com/cmur2/language-fluentd.git
synced 2025-06-26 12:30:25 +02:00
grammar: try to detect regex values to avoid weird highlighting
This commit is contained in:
@ -138,6 +138,10 @@ repository:
|
||||
{include: 'source.json'}
|
||||
]
|
||||
}
|
||||
{
|
||||
match: '\/.+\/$'
|
||||
name: 'value.string.regex.fluentd'
|
||||
}
|
||||
{
|
||||
match: '\\b(\\d+)\\b'
|
||||
name: 'value.constant.integer.fluentd'
|
||||
|
Reference in New Issue
Block a user