Merge branch 'master' of gitlab.com:dbeniamine/todo.txt-vim into github

This commit is contained in:
David Beniamine
2019-02-11 11:34:47 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ function! todo#Sort(type)
"Now tasks without priority are at beggining, move them to the end "Now tasks without priority are at beggining, move them to the end
silent normal gg silent normal gg
let l:firstP=search('^\s*([A-Z])', 'cn') let l:firstP=search('^\s*([A-Z])', 'cn')
if l:firstP != 1 if l:firstP > 1
let num=l:firstP-1 let num=l:firstP-1
" Sort normal " Sort normal
silent execute ':1 d b'.num silent execute ':1 d b'.num

View File

@@ -7,7 +7,7 @@
if exists("g:Todo_txt_loaded") if exists("g:Todo_txt_loaded")
finish finish
else else
let g:Todo_txt_loaded=0.8.1 let g:Todo_txt_loaded=0.8.2
endif endif
" Save context {{{1 " Save context {{{1