Yaml indent after -
This commit is contained in:
parent
9401a9fd25
commit
1809035c15
|
@ -59,6 +59,8 @@ define-command -hidden yaml-indent-on-new-line %{
|
|||
try %{ execute-keys -draft k : yaml-trim-indent <ret> }
|
||||
# indent after :
|
||||
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