Fix issue #11
Complete function assumed that a line started with x <date> or a priority which is not necessarily true, thus some lines where ignored from completion.
This commit is contained in:
@@ -350,7 +350,7 @@ fun! todo#Complete(findstart, base)
|
||||
let res = []
|
||||
for bufnr in range(1,bufnr('$'))
|
||||
let lines=getbufline(bufnr,1,"$")
|
||||
for line in lines
|
||||
for line in lines
|
||||
if line =~ " ".a:base
|
||||
" init temporary item
|
||||
let item={}
|
||||
|
||||
Reference in New Issue
Block a user