From 8dd24d0b68924deac1859d816ef14e29b0da4927 Mon Sep 17 00:00:00 2001 From: Leon Romanovsky Date: Thu, 28 Jan 2016 16:06:27 +0200 Subject: [PATCH] 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 --- autoload/todo/txt.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/todo/txt.vim b/autoload/todo/txt.vim index b170ea8..c5158f0 100644 --- a/autoload/todo/txt.vim +++ b/autoload/todo/txt.vim @@ -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()