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
|
# preserve previous line indent
|
||||||
try %{ execute-keys -draft <semicolon> K <a-&> }
|
try %{ execute-keys -draft <semicolon> K <a-&> }
|
||||||
# remove trailing white spaces
|
# 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
|
>> > > quote
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
* inside
|
* inside
|
||||||
* item
|
* item
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
- parent
|
- parent
|
||||||
* some
|
* some
|
||||||
* child
|
* child
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
> block
|
> block
|
||||||
> quote
|
> quote
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
**strong
|
**strong
|
||||||
emphasis**
|
emphasis**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user