diff --git a/grammars/sql.cson b/grammars/sql.cson index d9a07de..d3fa6b7 100644 --- a/grammars/sql.cson +++ b/grammars/sql.cson @@ -7,9 +7,6 @@ 'sql' ] 'patterns': [ - { - 'include': '#comments' - } { 'captures': '1': @@ -218,23 +215,6 @@ } ] } - { - 'begin': '(^[ \\t]+)?(?=#)' - 'beginCaptures': - '1': - 'name': 'punctuation.whitespace.comment.leading.sql' - 'end': '(?!\\G)' - 'patterns': [ - { - 'begin': '#' - 'beginCaptures': - '0': - 'name': 'punctuation.definition.comment.sql' - 'end': '\\n' - 'name': 'comment.line.number-sign.sql' - } - ] - } { 'begin': '/\\*' 'captures': @@ -291,7 +271,7 @@ 'captures': '1': 'name': 'punctuation.definition.string.end.sql' - 'match': '(#\\{)([^\\}]*)(\\})' + 'match': '(\\{)([^\\}]*)(\\})' 'name': 'string.interpolated.sql' 'strings': 'patterns': [ @@ -354,7 +334,7 @@ '2': 'name': 'punctuation.definition.string.end.sql' 'comment': 'this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.' - 'match': '(")[^"#]*(")' + 'match': '(")[^"]*(")' 'name': 'string.quoted.double.sql' } {