/asyncomplete-LanguageClient.vim

LSP source for asyncomplete.vim using LanguageClient-neovim

Primary LanguageVim ScriptMIT LicenseMIT

LSP source for asyncomplete.vim - LanguageClient-neovim

Provide Language Server Protocol autocompletion source for asyncomplete.vim from LanguageClient-neovim.

Installing (vim-plug)

  1. Install LanguageClient-neovim.
  2. Install asyncomplete.vim + this completion source.
Plug 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': 'bash install.sh'}
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'tryone144/asyncomplete-LanguageClient.vim'

Completion sources

This plugin does not provide any completions on its own but uses LanguageClient-neovim to query them from a language server. Refer to the LanguageClient-neovim Dokumentation on how to register new language servers.

Registration

Sources will be registered automatically when the language server has been started. To add more sources see Completion Sources.

Development

The following features are currently not implemented:

  • Add option to disable loading of this plugin
  • Add support for whitelist/blacklist on when to register the LanguageClient
  • Add option to specify source priority (globally, or for each filetype)
  • Register the LanguageClient separately for each filetype

If you want to contribute to the development feel free to submit a PR.


Legal

Copyright 2020 Bernd Busse @tryone144

This plugin is released under the MIT license.