mirror of
https://github.com/cmur2/language-fluentd.git
synced 2026-11-16 04:55:56 +01:00
grammar: try to detect regex values to avoid weird highlighting
This commit is contained in:
1 parent
78ea23f555
commit
da21bc01cc
2 files changed
+10
No files matched your search
@@ -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