diff --git a/rc/core/python.kak b/rc/core/python.kak index 971fbce3..1083c8d7 100644 --- a/rc/core/python.kak +++ b/rc/core/python.kak @@ -12,8 +12,8 @@ hook global BufCreate .*[.](py) %{ # ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter shared/ regions -default code python \ - double_string '"""' '"""' '' \ - single_string "'''" "'''" '' \ + docstring '"""' '"""' '' \ + docstring "'''" "'''" '' \ double_string '"' (?>> \K' '\z' '' \ + python '\.\.\. \K' '\z' '' +add-highlighter shared/python/docstring/py-docstring/python ref python +add-highlighter shared/python/docstring/py-docstring/docstring fill string + add-highlighter shared/python/comment fill comment %sh{