Renamed function to reflect its implementation

This commit is contained in:
Leandro Freitas
2015-05-20 17:12:46 -03:00
parent ddbcdd823f
commit 79e4d352a2
3 changed files with 11 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ function! s:get_current_date()
return strftime('%Y-%m-%d')
endfunction
function! todo#txt#prepend_date()
function! todo#txt#replace_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'