mirror of
https://github.com/cmur2/language-fluentd.git
synced 2025-06-26 12:30:25 +02:00
grammar: add (double quoted) string interpolations #{test} using Ruby
Related to adamchainz/fluentd.tmLanguage#3
This commit is contained in:
@ -93,6 +93,7 @@ repository:
|
||||
name: 'meta.value.string.quoted.double.fluentd'
|
||||
patterns: [
|
||||
{include: '#stringescapes'}
|
||||
{include: '#stringinterpolations'}
|
||||
]
|
||||
}
|
||||
{
|
||||
@ -168,3 +169,14 @@ repository:
|
||||
name: 'constant.string.escape.fluentd'
|
||||
}
|
||||
]
|
||||
stringinterpolations:
|
||||
patterns: [
|
||||
{
|
||||
begin: '#\\{'
|
||||
end: '\\}'
|
||||
name: 'constant.string.interpolation.fluentd'
|
||||
patterns: [
|
||||
{include: 'source.ruby'}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user