diff options
| author | Philip Bergwerf <philipbergwerf@gmail.com> | 2022-04-18 20:22:25 +0200 |
|---|---|---|
| committer | Guldoman <giulio.lettieri@gmail.com> | 2022-04-18 20:22:25 +0200 |
| commit | 5453a27f910fdf69ccd0f9cb0cbce130615cbccd (patch) | |
| tree | 998fe06ed22152a0afa45a3bcf042f6e0a11cf66 /data/plugins | |
| parent | fff10a26121e0fcada6a1b60cb263459bb6ed1f8 (diff) | |
| download | lite-xl-5453a27f910fdf69ccd0f9cb0cbce130615cbccd.tar.gz lite-xl-5453a27f910fdf69ccd0f9cb0cbce130615cbccd.zip | |
Add triple single quotes multiline strings to `language_python`
Diffstat (limited to 'data/plugins')
| -rw-r--r-- | data/plugins/language_python.lua | 1 |
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" }, |
