Add triple single quotes multiline strings to `language_python`

This commit is contained in:
Philip Bergwerf 2022-04-18 20:22:25 +02:00 committed by Guldoman
parent fff10a2612
commit 5453a27f91
No known key found for this signature in database
GPG Key ID: C08A498EC7F1AFDD
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ syntax.add {
patterns = {
{ pattern = { "#", "\n" }, type = "comment" },
{ pattern = { '[ruU]?"""', '"""'; '\\' }, type = "string" },
{ pattern = { "[ruU]?'''", "'''", '\\' }, type = "string" },
{ pattern = { '[ruU]?"', '"', '\\' }, type = "string" },
{ pattern = { "[ruU]?'", "'", '\\' }, type = "string" },
{ pattern = "0x[%da-fA-F]+", type = "number" },