Fix invalid quoting in python.kak

This commit is contained in:
Maxime Coste 2020-07-31 15:45:34 +10:00
parent 1c9e460053
commit 5292990a0d

View File

@ -158,7 +158,7 @@ define-command -hidden python-indent-on-new-line %<
# indent after line ending with : # indent after line ending with :
try %{ execute-keys -draft <space> k <a-x> <a-k> :$ <ret> j <a-gt> } try %{ execute-keys -draft <space> k <a-x> <a-k> :$ <ret> j <a-gt> }
# deindent closing brace/bracket when after cursor (for arrays and dictionaries) # deindent closing brace/bracket when after cursor (for arrays and dictionaries)
try %[ execute-keys -draft <a-x> <a-k> ^\h*[}\]] <ret> gh / [}\]] <ret> m <a-S> 1<a-&> ] try %< execute-keys -draft <a-x> <a-k> ^\h*[}\]] <ret> gh / [}\]] <ret> m <a-S> 1<a-&> >
> >
> >