1
0
mirror of https://github.com/cmur2/language-fluentd.git synced 2024-12-22 12:54:26 +01: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: values:
patterns: [ 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]+?)' match: '([^\\s]+?)'
name: 'meta.string.unquoted.fluentd' name: 'meta.string.unquoted.fluentd'