Merge pull request #558 from xiyaowong/patch-1

docs(neovim/vim): Update instruction for Coc
This commit is contained in:
Auguste Rame 2022-07-23 05:27:46 -04:00 committed by GitHub
commit 6df4405fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,8 +194,15 @@ Install the `zls-vscode` extension from [here](https://github.com/zigtools/zls-v
#### CoC
- Install the CoC engine from [here](https://github.com/neoclide/coc.nvim).
- Issue `:CocConfig` from within your Vim editor, and the following snippet:
Then choose one of the following two ways
1. Use extension
Run `:CocInstall coc-zls` to install [coc-zls](https://github.com/xiyaowong/coc-zls),
this extension supports the same functionality as the VScode extension
2. Manually register
```json
{
"languageserver": {