mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed incorrect highlighting for C-Style escape strings in SQL editor. #7485
This commit is contained in:
@@ -4,6 +4,7 @@ const extraKeywords = 'unsafe';
|
||||
const keywords = PostgreSQL.spec.keywords.replace(/\b\w\b/, '') + ' ' + extraKeywords;
|
||||
|
||||
const PgSQL = SQLDialect.define({
|
||||
backslashEscapes: true,
|
||||
charSetCasts: true,
|
||||
doubleDollarQuotedStrings: false,
|
||||
operatorChars: '+-*/<>=~!@#%^&|`?',
|
||||
|
||||
Reference in New Issue
Block a user