Fix c-family.kak after the change to keep handling of eol

This commit is contained in:
Maxime Coste 2016-11-29 00:01:37 +00:00
parent 12856066b1
commit 168abcdb48

View File

@ -50,7 +50,7 @@ def -hidden _c-family-indent-on-newline %[ eval -draft -itersel %[
exec -draft K <a-&> exec -draft K <a-&>
] ]
# remove previous empty lines resulting from the automatic indent # remove previous empty lines resulting from the automatic indent
try %[ exec -draft k <a-x>H <a-k>^\h+$<ret> d ] try %[ exec -draft k <a-x> <a-k>^\h+$<ret> Hd ]
# indent after an opening brace # indent after an opening brace
try %[ exec -draft K s\{\h*$<ret> j <a-gt> ] try %[ exec -draft K s\{\h*$<ret> j <a-gt> ]
# indent after a label # indent after a label