Updated Editor Configuration (markdown)

Updated coc.nvim (markdown)
Qiming zhao 2019-02-08 02:15:15 +08:00 committed by Fangrui Song
parent 30a8182535
commit 1ceb1f1788
2 changed files with 6 additions and 6 deletions

@ -1,4 +1,4 @@
| Feature/Client | [emacs-ccls] | [vscode-ccls] | [atom-ide-ccls] | [eglot] | [LC-neovim] | [ale] | [vim-lsp] | [coc.nvim] | | Feature/Client | [emacs-ccls] | [vscode-ccls] | [atom-ide-ccls] | [eglot] | [LanguageClient-neovim] | [ale] | [vim-lsp] | [coc.nvim] |
| -------------------------- | --------------- | ------------- | --------------- | --------- | ----------- | ----- | --------- | ---------- | | -------------------------- | --------------- | ------------- | --------------- | --------- | ----------- | ----- | --------- | ---------- |
| hover | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | hover | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Diagnostics | lsp-ui-flycheck | ✓ | ✓ | flymake | ✓ | ✓ | | ✓ | | Diagnostics | lsp-ui-flycheck | ✓ | ✓ | flymake | ✓ | ✓ | | ✓ |
@ -8,13 +8,12 @@
| codeLens | ✓ | ✓ | ✓ | | | | | ✓ | | codeLens | ✓ | ✓ | ✓ | | | | | ✓ |
| onTypeFormatting | ✓ | ✓ | ✓ | | | | | ✓ | | onTypeFormatting | ✓ | ✓ | ✓ | | | | | ✓ |
| semanticHighlight | ✓ | ✓ | ✓ | | | | | | semanticHighlight | ✓ | ✓ | ✓ | | | | |
| Custom Location[] requests | ✓ | Partial | | | ✓ | | | | Custom Location[] requests | ✓ | Partial | | | ✓ | | |
| Hierarchical Symbol | ✓ | ✓ | ✓ | | | | | ✓ | | Hierarchical Symbol | ✓ | ✓ | ✓ | | | | | ✓ |
- `LC` for Language Client.
- Atom IDE: [atom-ide-ccls] - Atom IDE: [atom-ide-ccls]
- Emacs: [eglot][emacs-ccls](depended on [lsp-mode]) - Emacs: [eglot][emacs-ccls](depended on [lsp-mode])
- (Neo)Vim: [ale][coc.nvim] [LanguageClient-neovim][vim-lsp]. - (Neo)Vim: [ale] [coc.nvim] [LanguageClient-neovim] [vim-lsp].
- VSCode: [vscode-ccls] - VSCode: [vscode-ccls]
### Custom `Location[]` requests ### Custom `Location[]` requests
@ -27,7 +26,7 @@ https://github.com/MaskRay/ccls/wiki/FAQ#definitions and following sections.
[eglot]: https://github.com/joaotavora/eglot [eglot]: https://github.com/joaotavora/eglot
[emacs-ccls]: https://github.com/MaskRay/emacs-ccls [emacs-ccls]: https://github.com/MaskRay/emacs-ccls
[atom-ide-ccls]: https://github.com/isundaylee/atom-ide-ccls [atom-ide-ccls]: https://github.com/isundaylee/atom-ide-ccls
[lc-neovim]: https://github.com/autozimu/LanguageClient-neovim [LanguageClient-neovim]: https://github.com/autozimu/LanguageClient-neovim
[lsp-mode]: https://github.com/emacs-lsp/lsp-mode [lsp-mode]: https://github.com/emacs-lsp/lsp-mode
[vim-lsp]: https://github.com/prabirshrestha/vim-lsp [vim-lsp]: https://github.com/prabirshrestha/vim-lsp
[vscode-ccls]: https://github.com/MaskRay/vscode-ccls [vscode-ccls]: https://github.com/MaskRay/vscode-ccls

@ -1,6 +1,7 @@
Install [coc.nvim](https://github.com/neoclide/coc.nvim) Install [coc.nvim](https://github.com/neoclide/coc.nvim)
`~/.config/nvim/coc-settings.json` Open config file with command `:CocConfig`
```jsonc ```jsonc
{ {
"languageserver": { "languageserver": {