Skip to content

Commit d662a2c

Browse files
committed
(chore) pgsql uses END_SAME_AS_BEGIN mode/rule now also
1 parent ebb78fa commit d662a2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/languages/pgsql.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,9 @@ export default function(hljs) {
463463
contains: [{begin: '\\\\.'}],
464464
relevance: 10
465465
},
466-
{
466+
hljs.END_SAME_AS_BEGIN({
467467
begin: DOLLAR_STRING,
468-
endSameAsBegin: true,
468+
end: DOLLAR_STRING,
469469
contains: [
470470
{
471471
// actually we want them all except SQL; listed are those with known implementations
@@ -474,7 +474,7 @@ export default function(hljs) {
474474
endsWithParent: true
475475
}
476476
]
477-
},
477+
}),
478478
// identifiers in quotes
479479
{
480480
begin: '"', end: '"',

0 commit comments

Comments
 (0)