Skip to content

Add default source that uses is_async #669

@blueyed

Description

@blueyed

It would be useful to have an example or default source that makes use of is_async.

As for the feature itself it seems like deoplete is polling the sources regardless (until is_async gets set to False), right?
Would it be possible for the source to call deoplete instead?

Related: I've seen deoplete being stuck in the completion_begin/completion_end loop / polling all the time while in insert mode. This might be related to deoplete-jedi having crashed while experimenting (and therefore never could set self.is_async = False), but am not sure.
This needs investigation.

Ref: wellle/tmux-complete.vim#80

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