1
0
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:
cn
2017-11-24 23:23:16 +01:00
parent 1d286163c9
commit cbdeef4bba
2 changed files with 13 additions and 0 deletions

View File

@ -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'}
]
}
]