diff --git a/rc/filetype/markdown.kak b/rc/filetype/markdown.kak index 38e32ea3..5e5e92b8 100644 --- a/rc/filetype/markdown.kak +++ b/rc/filetype/markdown.kak @@ -106,7 +106,7 @@ define-command -hidden markdown-indent-on-new-line %{ # preserve previous line indent try %{ execute-keys -draft K } # remove trailing white spaces - try %{ execute-keys -draft -itersel %{ k s \h+$ d } } + try %{ execute-keys -draft k s \h+$ d } } } diff --git a/test/indent/markdown/inside-complex-blockquote/out b/test/indent/markdown/inside-complex-blockquote/out index be4f1e99..2b5799f9 100644 --- a/test/indent/markdown/inside-complex-blockquote/out +++ b/test/indent/markdown/inside-complex-blockquote/out @@ -1,2 +1,2 @@ ->> > > block +>> > > block >> > > quote diff --git a/test/indent/markdown/inside-list-item/out b/test/indent/markdown/inside-list-item/out index 61c6d22a..be88314c 100644 --- a/test/indent/markdown/inside-list-item/out +++ b/test/indent/markdown/inside-list-item/out @@ -1,2 +1,2 @@ -* inside +* inside * item diff --git a/test/indent/markdown/inside-nested-list-item/out b/test/indent/markdown/inside-nested-list-item/out index 73b7f06d..a6834ab2 100644 --- a/test/indent/markdown/inside-nested-list-item/out +++ b/test/indent/markdown/inside-nested-list-item/out @@ -1,3 +1,3 @@ - parent - * some + * some * child diff --git a/test/indent/markdown/inside-simple-blockquote/out b/test/indent/markdown/inside-simple-blockquote/out index d286b922..159530c8 100644 --- a/test/indent/markdown/inside-simple-blockquote/out +++ b/test/indent/markdown/inside-simple-blockquote/out @@ -1,2 +1,2 @@ -> block +> block > quote diff --git a/test/indent/markdown/inside-strong-emphasis/out b/test/indent/markdown/inside-strong-emphasis/out index 3c878b78..e506acb2 100644 --- a/test/indent/markdown/inside-strong-emphasis/out +++ b/test/indent/markdown/inside-strong-emphasis/out @@ -1,2 +1,2 @@ -**strong +**strong emphasis**