Skip to content

Commit

Permalink
(chore) pgsql uses END_SAME_AS_BEGIN mode/rule now also
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Apr 27, 2020
1 parent 629de19 commit a4f1f20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/languages/pgsql.js
Expand Up @@ -463,9 +463,9 @@ export default function(hljs) {
contains: [{begin: '\\\\.'}],
relevance: 10
},
{
hljs.END_SAME_AS_BEGIN({
begin: DOLLAR_STRING,
endSameAsBegin: true,
end: DOLLAR_STRING,
contains: [
{
// actually we want them all except SQL; listed are those with known implementations
Expand All @@ -474,7 +474,7 @@ export default function(hljs) {
endsWithParent: true
}
]
},
}),
// identifiers in quotes
{
begin: '"', end: '"',
Expand Down

0 comments on commit a4f1f20

Please sign in to comment.