mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-14 04:43:46 -05:00
Fix wrong prefix for completed tasks
The commita612ebe('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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user