mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	docs: Use nvim-lspconfig plugin in lsp docs (#12885)
* docs: Use nvim-lspconfig plugin in lsp docs
This commit is contained in:
		@@ -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:  >
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user