Fix wrong prefix for completed tasks

The commit a612ebe ('Remove trailing whitespaces') removed the
whitespace which was after 'x' markup. It caused to mark the
completed task without space and didn't allow to remove it
automatically.

Before this change:
xCOMPLETION_DATE ....
After this change:
x COMPLETION_DATE ...

Fixes: a612ebe ('Remove trailing whitespaces')
Signed-off-by: Leon Romanovsky <leon@leon.nu>
This commit is contained in:
Leon Romanovsky
2016-01-28 16:06:27 +02:00
parent e2a02d4f30
commit 8dd24d0b68

View File

@@ -41,7 +41,7 @@ endfunction
function! todo#txt#mark_as_done()
call s:remove_priority()
call todo#txt#prepend_date()
normal! Ix
execute 'normal! Ix '
endfunction
function! todo#txt#mark_all_as_done()