From 5453a27f910fdf69ccd0f9cb0cbce130615cbccd Mon Sep 17 00:00:00 2001 From: Philip Bergwerf Date: Mon, 18 Apr 2022 20:22:25 +0200 Subject: [PATCH] Add triple single quotes multiline strings to `language_python` --- data/plugins/language_python.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/plugins/language_python.lua b/data/plugins/language_python.lua index 8bc6fbd4..85a7858b 100644 --- a/data/plugins/language_python.lua +++ b/data/plugins/language_python.lua @@ -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" },