diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-11-05 21:02:06 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-11-05 21:02:06 +0000 |
| commit | dc5742cf20ea5a3c4297adbe09b6a1f31e7fc943 (patch) | |
| tree | e1a6f902e905e44761d337cbb2fe26503b307e8d /rc/python.kak | |
| parent | 80b50cd737c485545d300d90763668c2f52df3cb (diff) | |
Fix escaping of ' in single quote python strings
Diffstat (limited to 'rc/python.kak')
| -rw-r--r-- | rc/python.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/python.kak b/rc/python.kak index aef4655c..393c3f92 100644 --- a/rc/python.kak +++ b/rc/python.kak @@ -19,7 +19,7 @@ addhl -group / regions -default code python \ double_string '"""' '"""' '' \ single_string "'''" "'''" '' \ double_string '"' (?<!\\)(\\\\)*" '' \ - single_string "'" "'" '' \ + single_string "'" (?<!\\)(\\\\)*' '' \ comment '#' '$' '' addhl -group /python/double_string fill string |
