https://github.com/tryone144/asyncomplete-languageclient.vim
LSP source for asyncomplete.vim using LanguageClient-neovim
https://github.com/tryone144/asyncomplete-languageclient.vim
autocompletion language-server-protocol vim-plugin
Last synced: about 2 months ago
JSON representation
LSP source for asyncomplete.vim using LanguageClient-neovim
- Host: GitHub
- URL: https://github.com/tryone144/asyncomplete-languageclient.vim
- Owner: tryone144
- License: mit
- Created: 2020-01-05T17:44:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T22:50:45.000Z (over 5 years ago)
- Last Synced: 2025-02-01T10:28:10.907Z (4 months ago)
- Topics: autocompletion, language-server-protocol, vim-plugin
- Language: Vim script
- Size: 2.93 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LSP source for asyncomplete.vim - LanguageClient-neovim
=======================================================Provide [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) autocompletion source for [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim) from [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim).
## Installing ([vim-plug](https://github.com/junegunn/vim-plug))
1. Install [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim#quick-start).
2. Install [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim#installing) + this completion source.```vim
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](https://github.com/autozimu/LanguageClient-neovim) to query them from a language server.
Refer to the LanguageClient-neovim [Dokumentation](https://github.com/autozimu/LanguageClient-neovim/blob/next/INSTALL.md#5-configure-this-plugin) 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](#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)
- [x] Register the LanguageClient separately for each filetypeIf 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](./LICENSE).