mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-18 14:43:38 -05:00
Compare commits
1 Commits
master
...
97a9785378
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97a9785378 |
@@ -26,7 +26,7 @@ function! s:get_current_date()
|
||||
endfunction
|
||||
|
||||
function! todo#txt#prepend_date()
|
||||
execute 'normal! 0i' . s:get_current_date() . ' '
|
||||
execute 'normal! I' . s:get_current_date() . ' '
|
||||
endfunction
|
||||
|
||||
function! todo#txt#replace_date()
|
||||
@@ -41,7 +41,7 @@ endfunction
|
||||
function! todo#txt#mark_as_done()
|
||||
call s:remove_priority()
|
||||
call todo#txt#prepend_date()
|
||||
execute 'normal! 0ix '
|
||||
execute 'normal! Ix '
|
||||
endfunction
|
||||
|
||||
function! todo#txt#mark_all_as_done()
|
||||
|
||||
@@ -48,7 +48,7 @@ highlight default link TodoPriorityB Statement
|
||||
highlight default link TodoPriorityC Identifier
|
||||
highlight default link TodoDate PreProc
|
||||
highlight default link TodoProject Special
|
||||
highlight default link TodoContext Special
|
||||
highlight default link TodoContext String
|
||||
|
||||
if exists('g:todo_load_python') && g:todo_load_python
|
||||
if has('python')
|
||||
|
||||
Reference in New Issue
Block a user