tomtom / ttodo_vim

Edit, view, filter, and sort todo.txt files
http://www.vim.org/scripts/script.php?script_id=5262
GNU General Public License v3.0
15 stars 1 forks source link

:Ttodo --due= fails #3

Closed Garonenur closed 8 years ago

Garonenur commented 8 years ago

I tried to use the due-date filter and got this:

Error detected while processing function ttodo#Show..ttodo#GetOpts..tlib#arg#GetOpts..<SNR>100_SetO
pt..<SNR>100_Validate:
line    6:
E605: Exception not caught: tlib#arg: 'due' has invalid value: '1w'
Error detected while processing function ttodo#Show..ttodo#GetOpts..tlib#arg#GetOpts..<SNR>100_SetO
pt:
line   80:
E171: Missing :endif
Error detected while processing function ttodo#Show..ttodo#GetOpts..tlib#arg#GetOpts:
line   12:
E170: Missing :endfor

Do you need any more information?

tomtom commented 8 years ago

:Ttodo --due= is illformed and should trigger the above error message. :Ttodo --due=1w should work though.