docs: Use nvim-lspconfig plugin in lsp docs (#12885)

* docs: Use nvim-lspconfig plugin in lsp docs
This commit is contained in:
Dave Lage 2020-09-12 11:52:30 -04:00 committed by GitHub
parent b23907e7ce
commit 97c03227c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,14 +23,14 @@ QUICKSTART *lsp-quickstart*
Nvim provides a LSP client, but the servers are provided by third parties. Nvim provides a LSP client, but the servers are provided by third parties.
Follow these steps to get LSP features: Follow these steps to get LSP features:
1. Install the nvim-lsp plugin. It provides common configuration for 1. Install the nvim-lspconfig plugin. It provides common configuration for
various servers so you can get started quickly. various servers so you can get started quickly.
https://github.com/neovim/nvim-lsp https://github.com/neovim/nvim-lspconfig
2. Install a language server. Try ":LspInstall <tab>" or use your system 2. Install a language server. Try ":LspInstall <tab>" or use your system
package manager to install the relevant language server: package manager to install the relevant language server:
https://microsoft.github.io/language-server-protocol/implementors/servers/ https://microsoft.github.io/language-server-protocol/implementors/servers/
3. Add `nvim_lsp.xx.setup{…}` to your vimrc, where "xx" is the name of the 3. Add `nvim_lsp.xx.setup{…}` to your vimrc, where "xx" is the name of the
relevant config. See the nvim-lsp README for details. relevant config. See the nvim-lspconfig README for details.
To check LSP clients attached to the current buffer: > To check LSP clients attached to the current buffer: >