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
..
.config/nvim
ada_files Add gnatpp fixer for Ada 2019-07-01 20:50:02 -04:00
ant-test-files Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
command_callback Merge pull request #2660 from YPCrumble/master 2019-11-14 14:47:19 +00:00
compile_database_perf Improve perf for compile dbs in large projects 2019-01-06 00:41:57 -08:00
completion Add TypeScript autoimport support for deoplete (#2779) 2020-01-01 19:00:41 +00:00
csslint-test-files
cucumber_fixtures/features
d_files dfmt support (#2662) 2019-09-10 20:54:14 +01:00
dart_files
elixir-test-files
elm-test-files fallback to elm if elm-tests isn’t available 2019-01-04 09:55:35 +02:00
eslint-test-files
fix Fix #2744 - Make ALEFix work when only casing is changed 2019-09-20 19:02:21 +01:00
fixers Clean up the nimpretty code 2019-11-14 14:50:21 +00:00
flow
go_files
gradle-test-files
hamllint-test-files
handler Fix 2891 - eslint not showing errors. 2019-11-26 13:37:25 +09:00
javascript_files
json_files
jsonlint-test-files support jsonlint local executable 2019-03-15 16:21:48 -05:00
kotlin_files Add ktlint fixer support. 2019-01-20 19:39:47 -06:00
lsp Adding support for LSP `window/showMessage` method (#2652) 2019-10-18 16:17:54 +01:00
markdown_files Add textlint for Asciidoc and add it to Fixers (#2193) 2019-01-10 18:53:45 +00:00
maven-test-files/maven-kotlin-project
nim-test-files/with-git/src Add support for nimlsp (#2815) 2019-10-17 17:32:31 +01:00
ocaml-test-files
phpcs-test-files
prettier-test-files
puppet-test-files
python Add TypeScript autoimport support for deoplete (#2779) 2020-01-01 19:00:41 +00:00
python-test-files/python-package-project Test for Python project root directory 2019-05-19 09:51:26 -04:00
python_fixtures/pipenv
reasonml_files
ruby_fixtures
rust_files
scala_fixtures
script Merge pull request #2696 from elebow/update-test-docs-for-linter-lists 2019-09-12 22:57:44 +01:00
sign Fix #2835 - Bump up the sign group version check for NeoVim 2019-10-21 09:35:23 +01:00
slimlint-test-files
smlnj
swift-test-files [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
swiftlint-test-files Add support for Pod based SwiftLint (#2122) 2018-12-07 15:20:58 -07:00
test_c_projects Fix #2421 - Use compile_commands.json in build dirs to find roots 2019-05-20 19:57:08 +01:00
tex_files Add support for latexindent (#2387) 2019-04-13 13:21:59 +01:00
tflint-test-files/foo
top
util fix has('unix') equal 0 is windows. 2018-10-24 08:29:11 +09:00
dumb_tcp_client.py
dumb_tcp_server.py
smoke_test.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_ale_has.vader Bump the ALE version 2019-10-16 17:23:31 +01:00
test_ale_info.vader Add g:ale_sign_highlight_linenr (#2678) 2019-09-01 14:03:54 +01:00
test_ale_info_to_clipboard.vader Fix #2438 - Print a friendly message when the clipboard is not available 2019-05-28 20:27:10 +01:00
test_ale_lint_command.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_ale_toggle.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_ale_var.vader
test_alejobstarted_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_alelint_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_ant_build_classpath_command.vader Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
test_ant_find_project_root.vader Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
test_autocmd_commands.vader Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
test_backwards_compatibility.vader
test_balloon_messages.vader
test_c_flag_parsing.vader Fix cflags parsing (#2510, #2265) (#2590) 2019-08-17 19:08:14 +01:00
test_checkingbuffer_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_cleanup.vader
test_code_action.vader Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
test_command_chain.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_csslint_config_detection.vader
test_cursor_warnings.vader Lint on InsertLeave, not in insert mode by default 2019-06-10 20:54:38 +01:00
test_deferred_command_string.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_deferred_executable_string.vader #2132 - Implement deferred command handling for linters 2019-02-21 21:24:41 +00:00
test_disabling_ale.vader
test_dockerfile_hadolint_linter.vader
test_engine_invocation.vader Remove ProcessChain code we do not need now 2019-02-13 17:56:10 +00:00
test_env_function.vader
test_errors_removed_after_filetype_changed.vader Simplify code for marking linters as active 2019-02-14 10:10:46 +00:00
test_eslint_executable_detection.vader Run ESLint from project root dir where possible 2019-12-17 12:25:44 -07:00
test_filetype_linter_defaults.vader Close #2764 - Support the new React filetypes with aliases 2019-09-19 20:48:37 +01:00
test_filetype_mapping.vader
test_find_nearest_directory.vader
test_find_references.vader Fix #2402 - Handle null LSP references responses 2019-03-29 13:42:24 +00:00
test_flow_command.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_format_command.vader #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
test_format_temporary_file_creation.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_function_arg_count.vader
test_fuzzy_json_decode.vader
test_get_abspath.vader
test_get_loclist.vader
test_getmatches.vader
test_go_to_definition.vader Add support for Vim's tagstack to ALEGoToDefinition 2019-04-19 23:10:55 -04:00
test_gradle_build_classpath_command.vader ale#path#CdString include ale#Escape 2018-10-23 23:20:27 +09:00
test_gradle_find_executable.vader
test_gradle_find_project_root.vader
test_highlight_placement.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_highlight_position_chunking.vader
test_history_saving.vader Fix LSP tests 2019-05-24 01:13:52 +01:00
test_hover.vader Fix #2295 - Respond to initialize with an initialized message 2019-02-15 08:54:53 +00:00
test_ignoring_linters.vader Use JSON output for eslint and fix tsserver column 2019-06-02 14:39:03 +02:00
test_jsonlint_executable_detection.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_kotlin_languageserver_path_detection.vader
test_line_join.vader
test_lint_file_linters.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_lint_on_enter_when_file_changed.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_lint_on_filetype_changed.vader
test_linter_defintion_processing.vader #2132 - Implement project_root as a replacement for project_root_callback 2019-02-22 15:24:34 +00:00
test_linter_retrieval.vader Fix #1727 - Replace previoulsy defined linters with matching names 2019-06-10 22:41:20 +01:00
test_linter_type_mapping.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_linting_blacklist.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_linting_updates_loclist.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_list_formatting.vader
test_list_opening.vader
test_list_titles.vader
test_load_all_linters.vader
test_loclist_binary_search.vader
test_loclist_corrections.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_loclist_jumping.vader Fix #1317 - Jump to column 1 for problems at column 0 2019-05-17 22:08:03 +01:00
test_loclist_sorting.vader
test_nearest_file_search.vader
test_nimlsp_project_root.vader Add support for nimlsp (#2815) 2019-10-17 17:32:31 +01:00
test_no_linting_on_write_quit.vader Fix #2497 - ALE should not lint on save when disabled after fixing 2019-05-13 13:44:29 +01:00
test_organize_imports.vader Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
test_other_sources.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_parse_command_args.vader Add a function for parsing command args 2019-02-07 18:10:34 +00:00
test_path_dirname.vader
test_path_equality.vader Fix #2525 - Convert Windows paths in a Unix environment 2019-06-05 14:16:43 +01:00
test_path_upwards.vader
test_path_uri.vader #2357 Handle Windows paths where the drive letter colon is encoded 2019-03-13 16:44:29 +00:00
test_pattern_options.vader
test_prepare_command.vader Fix a test on Windows 2019-01-04 14:51:55 +00:00
test_puppet_path_detection.vader
test_python_find_project_root.vader Test for Python project root directory 2019-05-19 09:51:26 -04:00
test_python_pipenv.vader
test_python_traceback.vader Support pylama for python (#2266) 2019-02-08 21:44:34 +00:00
test_python_virtualenv.vader
test_quickfix_deduplication.vader
test_quitting_variable.vader
test_redundant_tsserver_rendering_avoided.vader #2403 - Make ale_disable_lsp apply consistently, and document it better 2019-05-10 13:42:41 +01:00
test_regex_escaping.vader
test_rename.vader Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709) 2019-09-12 21:53:23 +01:00
test_resolve_local_path.vader
test_results_not_cleared_when_opening_loclist.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_sandbox_execution.vader #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
test_semver_utils.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_set_list_timers.vader
test_setting_loclist_from_another_buffer.vader
test_setting_problems_found_in_previous_buffers.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_shell_detection.vader Add better detection for KornShell/ksh 2019-01-24 14:14:49 -05:00
test_should_do_nothing_conditions.vader Fix #2399 - Do not check buffers used for displaying diffs 2019-04-08 13:42:09 +01:00
test_sml_command.vader
test_socket_connections.vader
test_statusline.vader Extend statusline interface (#2240) 2019-01-27 12:44:49 +00:00
test_swift_find_project_root.vader [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
test_swiftlint_executable_detection.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_symbol_search.vader #2132 Use an on-init callback for all LSP logic 2019-02-13 17:26:37 +00:00
test_temporary_file_management.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_tmpdir_wrapper.vader
test_verilog_verilator_options.vader #2017 Simplify lint cycles for supporting other sources later 2018-10-29 11:29:21 +00:00
test_vim8_processid_parsing.vader
test_windows_escaping.vader
test_wrap_comand.vader
test_writefile_function.vader Make a test fail less 2019-05-20 19:27:47 +01:00
vimrc Fix #2555 - Remove highlights in lowercase, etc 2019-06-03 20:16:49 +01:00