ale/autoload/ale
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
..
completion
engine Add g:ale_disable_lsp and b:ale_disable_lsp to disable linters powered by LSP 2019-03-30 15:29:17 +09:00
fix add nimpretty fixer 2019-11-09 16:28:49 +07:00
fixers Clean up the nimpretty code 2019-11-14 14:50:21 +00:00
gradle
handlers Run ESLint from project root dir where possible 2019-12-17 12:25:44 -07:00
lsp Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
ant.vim Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
args.vim
assert.vim Fix the test issues with html-beautify 2019-10-28 13:45:25 +00:00
balloon.vim
c.vim arguments needs to be handled for compile_commands.json in addition to command (#2123) 2019-09-19 20:20:37 +01:00
code_action.vim Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
command.vim #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
completion.vim Add TypeScript autoimport support for deoplete (#2779) 2020-01-01 19:00:41 +00:00
cursor.vim #2417 - Silence errors for shortmess+=T 2019-04-08 11:41:23 +01:00
d.vim Remove otherproject#util#Double from d.vim 2019-04-13 07:59:01 +02:00
debugging.vim Add g:ale_sign_highlight_linenr (#2678) 2019-09-01 14:03:54 +01:00
definition.vim Updated Vim version in Dockerfile and made UpdateTagStack clearer 2019-04-24 09:58:13 -04:00
engine.vim Close #829 - Close LSP documents when buffers are deleted 2019-05-14 00:21:58 +01:00
events.vim Lint on InsertLeave, not in insert mode by default 2019-06-10 20:54:38 +01:00
filetypes.vim
fix.vim Fix #2744 - Make ALEFix work when only casing is changed 2019-09-20 19:02:21 +01:00
go.vim Support $GO111MODULE with Go tooling 2019-07-01 11:04:33 -04:00
gradle.vim
highlight.vim Fix #2760 - Ignore all errors for adding NeoVim highlights 2019-09-11 16:49:25 +01:00
history.vim
hover.vim Add option to show hover messages in preview. 2019-10-12 16:45:12 +07:00
java.vim Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
job.vim Fix #2295 - Respond to initialize with an initialized message 2019-02-15 08:54:53 +00:00
julia.vim
linter.vim Close #2764 - Support the new React filetypes with aliases 2019-09-19 20:48:37 +01:00
list.vim Keep cursor position on screen when opening/closing lists (#2632) 2019-08-17 19:14:21 +01:00
loclist_jumping.vim Fix #1317 - Jump to column 1 for problems at column 0 2019-05-17 22:08:03 +01:00
lsp_linter.vim Adding support for LSP window/showMessage method (#2652) 2019-10-18 16:17:54 +01:00
lsp_window.vim Mention the disabled option for message severity 2019-10-18 16:22:17 +01:00
lsp.vim Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
node.vim #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
organize_imports.vim Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
other_source.vim
path.vim doc: Fix typos 2019-08-28 00:28:58 +08:00
pattern_options.vim
powershell.vim Linter for powershell syntax errors (#2413) 2019-04-13 12:24:56 +01:00
preview.vim Fix #2330 - Do not use getcurpos() to avoid changing curswant 2019-03-07 12:28:42 +00:00
python.vim Change Python project root dir detection for flake8 configuration 2019-05-19 09:51:26 -04:00
references.vim Fix #2402 - Handle null LSP references responses 2019-03-29 13:42:24 +00:00
rename.vim Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
ruby.vim Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable 2019-08-13 01:52:13 -04:00
semver.vim #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
sign.vim Fix #2835 - Bump up the sign group version check for NeoVim 2019-10-21 09:35:23 +01:00
socket.vim
statusline.vim
swift.vim [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
symbol.vim
test.vim
toggle.vim Clear the virtualtext on disable 2019-02-20 11:08:27 +09:00
uri.vim
util.vim Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
virtualtext.vim fix 2434: use text field instead of the detail field for virtualtext (#2441) 2019-04-16 14:40:39 +01:00