citation.vim
citation.vim copied to clipboard
Unite throws errors when I call `:Unite citation`(i.e. without specifying sub-menu)
Perhaps this is unintended usage? But when I call :Unite <args> citation instead of (e.g.) :Unite <args> citation/key, so as to choose one option from the menu, I observe some odd behavior:
If I do this for the first time after opening a new Vim session, I get no error.
If I do this after the first time, I get the following error message:
[Citation] citation sources
[unite.vim] function unite#helper#call_unite[33]..unite#start[1]..unite#start#standard[50]..unite#candidates#_recache[74]..<SNR>174_recache_candidates_l
oop[42]..<SNR>174_get_source_candidates[40]..385, line 4
[unite.vim] Vim(return):E731: using Dictionary as a String
[unite.vim] Error occurred in gather_candidates!
If I choose an option from the sub-menu directly via my :Unite call (i.e., via :Unite citation/key), the plugin works fine.
Btw thanks for writing this thing, it is in general awesome.
Thanks! I never noticed because I never use it more than once, and only run the test once...
It probably difficult to solve as there is some interaction with Unite happening there. But I'll have a look when I get time (ie probably not for ages given my current workload...)