diff --git a/autoload/todo/txt.vim b/autoload/todo/txt.vim index 24f2cfd..8475e70 100644 --- a/autoload/todo/txt.vim +++ b/autoload/todo/txt.vim @@ -28,7 +28,7 @@ endfunction function! todo#txt#prepend_date() let current_line = getline('.') if (current_line =~ '^\(([a-zA-Z]) \)\?\d\{2,4\}-\d\{2\}-\d\{2\} ') && - exists('g:todo_existing_date') && g:todo_existing_date == 'n' + \ exists('g:todo_existing_date') && g:todo_existing_date == 'n' return endif execute 's/^\(([a-zA-Z]) \)\?\(\d\{2,4\}-\d\{2\}-\d\{2\} \)\?/\1' . s:get_current_date() . ' /'