aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_python.lua
diff options
context:
space:
mode:
Diffstat (limited to 'data/plugins/language_python.lua')
-rw-r--r--data/plugins/language_python.lua1
1 files changed, 1 insertions, 0 deletions
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" },