Fixed incorrect highlighting for C-Style escape strings in SQL editor. #7485

This commit is contained in:
Aditya Toshniwal
2024-05-20 10:13:30 +05:30
parent ad5bb0b190
commit 9647482791
2 changed files with 3 additions and 1 deletions

View File

@@ -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: '+-*/<>=~!@#%^&|`?',