Merge remote-tracking branch 'pickfire/indent-yaml' into master

This commit is contained in:
Maxime Coste 2020-10-08 19:51:05 +11:00
commit 600be827b3

View File

@ -59,6 +59,8 @@ define-command -hidden yaml-indent-on-new-line %{
try %{ execute-keys -draft k : yaml-trim-indent <ret> } try %{ execute-keys -draft k : yaml-trim-indent <ret> }
# indent after : # indent after :
try %{ execute-keys -draft <space> k x <a-k> :$ <ret> j <a-gt> } try %{ execute-keys -draft <space> k x <a-k> :$ <ret> j <a-gt> }
# indent after -
try %{ execute-keys -draft <space> k x <a-k> ^\h*- <ret> j <a-gt> }
} }
} }