Merge remote-tracking branch 'pickfire/indent-yaml' into master
This commit is contained in:
commit
600be827b3
|
@ -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> }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user