blindFS / vim-taskwarrior

vim interface for taskwarrior
Other
517 stars 42 forks source link

showing task details does not work #54

Closed ff2000 closed 10 years ago

ff2000 commented 10 years ago

I start vim, enter ":TW list", move te cursor to a task, press enter. Actual result:

Error detected while processing function taskwarrior#get_info..taskwarrior#current_column:
line 4: E684: list index out of range: -1 E116: Invalid arguments for function matchstr(b:task_report_columns[taskwarrior#current_index()], '^\w+') E15: Invalid expression: matchstr(b:task_report_columns[taskwarrior#current_index()], '^\w+')

blindFS commented 10 years ago

Maybe your taskwarrior version is lower than 2.30?

ff2000 commented 10 years ago

Yes, I used the stable release - 2.2.0. Didn't know the beta was needed - should be mentioned in the Readme :)

blindFS commented 10 years ago

Sorry for that. I suggest that you upgrade taskwarrior (it changed a lot) for better experience. I can't guarantee the compatibility for lower versions. (This plugin is mainly designed for the coming taskwarrior 2.4). But I'll try my best to fix it.

I will add some statements to the readme/doc. Thanks for reporting.

ff2000 commented 10 years ago

I already created a Gentoo ebuild for the beta and use it. So everything is fine now. Thx! https://github.com/ff2000/gentoo-overlay/commit/94ce23f6fbd81c7089eda8e4fc7f2e60c8441090

blindFS commented 10 years ago

That sounds great. But I will stay away from Gentoo. :smile: There is task-git (2.3.0 beta2) in AUR and yaourt is great.

blindFS commented 10 years ago

It should work properly on lower versions as well now.