ale/test/completion
Jerko Steiner 0cb432cb82 Add TypeScript autoimport support for deoplete (#2779)
* Add autoimport support for deoplete

* Fix test_deoplete_source.py

* Use callback instead of is_async for deoplete

Shuogo, the author of Deoplete, does not recommend using the `is_async`
option:

> I think is_async is not recommended. It is not so useful and broken.
> You should use callback system instead.

Link: https://github.com/Shougo/deoplete.nvim/issues/1006#issuecomment-526797857

Incidentally, the same thread mentiones an issue started by w0rp:
https://github.com/Shougo/deoplete.nvim/issues/976

The deoplete docs also say is_async is deprecated:

> is_async        (Bool)
>     If the gather is asynchronous, the source must set
>     it to "True". A typical strategy for an asynchronous
>     gather_candidates method to use this flag is to
>     set is_async flag to True while results are being
>     produced in the background (optionally, returning them
>     as they become ready). Once background processing
>     has completed, is_async flag should be set to False
>     indicating that this is the last portion of the
>     candidates.
>
>     Note: The feature is deprecated and not recommended.
>     You should use callback system by
>     |deoplete#auto_complete()| instead.

Link: https://github.com/Shougo/deoplete.nvim/blob/master/doc/deoplete.txt

Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-01-01 19:00:41 +00:00
..
test_completion_events.vader Add TypeScript autoimport support for deoplete (#2779) 2020-01-01 19:00:41 +00:00
test_completion_filtering.vader Optimize ale#completion#Filter when prefix is "" 2019-01-08 15:10:03 +01:00
test_completion_prefixes.vader #1888 Support names with minuses in Clojure and Lisp 2018-09-07 19:27:42 +01:00
test_lsp_completion_messages.vader Fix tsserver not returning details for items with empty source 2019-10-17 23:26:24 -05:00
test_lsp_completion_parsing.vader Fix typo 2019-11-08 16:44:02 -06:00
test_omnifunc_completion.vader Fix #2535 - Automatically emit <C-x><C-o> less to prevent <C-o> issues 2019-05-28 20:03:35 +01:00
test_public_completion_api.vader Add & fix tests for added funcs 2019-06-19 15:34:53 +09:00
test_tsserver_completion_parsing.vader Allow the user to set their own completion values 2019-11-08 16:44:00 -06:00