rc markdown: Fix trailing whitespace removal

Modified the test cases accordingly too
This commit is contained in:
SeerLite 2021-04-01 21:19:20 -03:00
parent 5c03e2bd54
commit e84dd80244
6 changed files with 6 additions and 6 deletions

View File

@ -106,7 +106,7 @@ define-command -hidden markdown-indent-on-new-line %{
# preserve previous line indent
try %{ execute-keys -draft <semicolon> K <a-&> }
# remove trailing white spaces
try %{ execute-keys -draft -itersel %{ k<a-x> s \h+$ <ret> d } }
try %{ execute-keys -draft k <a-x> s \h+$ <ret> d }
}
}