mirror of
https://github.com/cmur2/language-fluentd.git
synced 2024-12-22 02:54:25 +01:00
grammar: add single and double quoted strings
This commit is contained in:
parent
0b972b731f
commit
f2d50423de
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user