rc markdown: Fix trailing whitespace removal
Modified the test cases accordingly too
This commit is contained in:
parent
5c03e2bd54
commit
e84dd80244
|
@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
>> > > block
|
||||
>> > > block
|
||||
>> > > quote
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
* inside
|
||||
* inside
|
||||
* item
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
- parent
|
||||
* some
|
||||
* some
|
||||
* child
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
> block
|
||||
> block
|
||||
> quote
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
**strong
|
||||
**strong
|
||||
emphasis**
|
||||
|
|
Loading…
Reference in New Issue
Block a user