Files
ale/test
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
..
2019-07-01 20:50:02 -04:00
2019-09-10 20:54:14 +01:00
2018-07-01 13:55:41 +01:00
2019-11-14 14:50:21 +00:00
2018-09-19 19:33:23 +01:00
2017-12-05 00:37:31 +09:00
2019-01-20 19:39:47 -06:00
2018-08-26 13:47:56 +02:00
2017-10-29 21:48:28 +01:00
2017-10-21 12:31:49 -05:00
2018-10-24 08:29:11 +09:00
2019-10-16 17:23:31 +01:00
2019-05-24 01:13:52 +01:00