Skip to content

Unite throws errors when I call :Unite citation(i.e. without specifying sub-menu) #22

Description

@lukelbd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions