Skip to content

Commit e509029

Browse files
author
Dominik Gehlich
committed
better comments
1 parent 7080f25 commit e509029

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎PostgreSQL.tmLanguage‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@
105105
</dict>
106106
</dict>
107107
<key>comment</key>
108-
<string>Assume multiline dollar quote is SQL body! Start if double dollar quote is followed by comment or linebreak. See match for dollar quotes as string: string.unquoted.dollar.pgsql. This could easily support other PL languages like PHP and Ruby -- see PHP heredoc as an example.</string>
108+
<string>Assume multiline dollar quote is SQL body! Start if double dollar quote is followed by comment (-- or /**/) or linebreak (
109+
or
110+
). See match for dollar quotes as string: string.unquoted.dollar.pgsql. This could easily support other PL languages like PHP and Ruby -- see PHP heredoc as an example.</string>
109111
<key>contentName</key>
110112
<string>meta.dollar-quote.pgsql</string>
111113
<key>end</key>
@@ -568,7 +570,7 @@
568570
<key>begin</key>
569571
<string>(\$[\w_]*\$)</string>
570572
<key>comment</key>
571-
<string>Color double dollar quotes as a string Only if no followed by comment or linebreak. See meta.dollar-quote.pgsql.</string>
573+
<string>Color double dollar quotes as a string Only if not followed by comment or linebreak, see meta.dollar-quote.pgsql.</string>
572574
<key>end</key>
573575
<string>\1</string>
574576
<key>name</key>

0 commit comments

Comments
 (0)