1
0
mirror of https://github.com/cmur2/language-fluentd.git synced 2024-06-26 10:34:43 +02:00

grammar: add single and double quoted strings

This commit is contained in:
cn 2017-11-24 23:16:50 +01:00
parent 0b972b731f
commit f2d50423de

View File

@ -77,6 +77,28 @@ repository:
]
values:
patterns: [
{
begin: '(")'
beginCaptures:
'1':
name: 'punctuation.definition.string.begin.fluentd'
end: '(")'
endCaptures:
'1':
name: 'punctuation.definition.string.end.fluentd'
name: 'meta.value.string.quoted.double.fluentd'
}
{
begin: "(')"
beginCaptures:
'1':
name: 'punctuation.definition.string.begin.fluentd'
end: "(')"
endCaptures:
'1':
name: 'punctuation.definition.string.end.fluentd'
name: 'meta.value.string.quoted.single.fluentd'
}
{
match: '([^\\s]+?)'
name: 'meta.string.unquoted.fluentd'