diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-30 17:25:44 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-30 17:25:44 +0000 |
commit | e48033d066b26cb9e85c94cf47e6b8e388176e0a (patch) | |
tree | a6b6f2b61c2ee0bb1f3ffd7278628b2f40a981e7 | |
parent | 90b18a3f9716d1c14c950eccfb450d264f1c8fab (diff) | |
parent | 53fd24a6d393daf70a95c5df1d9634796af687b0 (diff) |
Merge #2946
2946: updating nvim_lsp usage for rust_analyzer r=matklad a=matu3ba
The other option is invalid and a working version depends on [PR](https://github.com/neovim/nvim-lsp/pull/107)
Co-authored-by: Jan <[email protected]>
-rw-r--r-- | docs/user/README.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/user/README.md b/docs/user/README.md index d2d8f8182..2948f6ff3 100644 --- a/docs/user/README.md +++ b/docs/user/README.md | |||
@@ -173,8 +173,7 @@ let g:LanguageClient_serverCommands = { | |||
173 | 173 | ||
174 | NeoVim 0.5 (not yet released) has built in language server support. For a quick start configuration | 174 | NeoVim 0.5 (not yet released) has built in language server support. For a quick start configuration |
175 | of rust-analyzer, use [neovim/nvim-lsp](https://github.com/neovim/nvim-lsp#rust_analyzer). | 175 | of rust-analyzer, use [neovim/nvim-lsp](https://github.com/neovim/nvim-lsp#rust_analyzer). |
176 | Once `neovim/nvim-lsp` is installed, you can use `call nvim_lsp#setup("rust_analyzer", {})` | 176 | Once `neovim/nvim-lsp` is installed, use `lua require'nvim_lsp'.rust_analyzer.setup({})` in your `init.vim`. |
177 | or `lua require'nvim_lsp'.rust_analyzer.setup({})` to quickly get set up. | ||
178 | 177 | ||
179 | 178 | ||
180 | ## Sublime Text 3 | 179 | ## Sublime Text 3 |