Browse Source

grammar: add single and double quoted strings

tags/v1.1.0
cn 3 years ago
parent
commit
f2d50423de
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      grammars/fluentd.cson

+ 22
- 0
grammars/fluentd.cson View File

@ -78,6 +78,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'
captures:


Loading…
Cancel
Save