diff --git a/grammars/julia.cson b/grammars/julia.cson index 14888d0..e3ad1a5 100644 --- a/grammars/julia.cson +++ b/grammars/julia.cson @@ -568,6 +568,42 @@ repository: "0": name: "punctuation.definition.string.end.julia" } + { + begin: '(sql)(""")' + beginCaptures: + '1': + name: 'support.function.macro.julia' + '2': + name: 'punctuation.definition.string.begin.julia' + end: '"""' + endCaptures: + '0': + name: 'punctuation.definition.string.end.julia' + name: 'embed.sql.julia' + contentName: 'meta.embedded.inline.sql' + patterns: [ + { include: 'source.sql' }, + { include: '#string_dollar_sign_interpolate' } + ] + } + { + begin: '(sql)(")' + beginCaptures: + '1': + name: 'support.function.macro.julia' + '2': + name: 'punctuation.definition.string.begin.julia' + end: '"' + endCaptures: + '0': + name: 'punctuation.definition.string.end.julia' + name: 'embed.sql.julia' + contentName: 'meta.embedded.inline.sql' + patterns: [ + { include: 'source.sql' }, + { include: '#string_dollar_sign_interpolate' } + ] + } { begin: "var\"\"\"" end: "\"\"\""