From 8d02df93d7ff7cc30a3574d05c7f22b877ebfd67 Mon Sep 17 00:00:00 2001 From: Ashkan Kiani Date: Sat, 23 Nov 2019 01:58:13 -0800 Subject: Add note about neovim's built in language server --- docs/user/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/user/README.md b/docs/user/README.md index bfb190449..f3fdac319 100644 --- a/docs/user/README.md +++ b/docs/user/README.md @@ -132,6 +132,11 @@ to load path and require it in `init.el` ## Vim and NeoVim +Neovim 0.5 has a built in language server. For a quick start configuration of +rust-analyzer, use [neovim/nvim-lsp](https://github.com/neovim/nvim-lsp). +Once `neovim/nvim-lsp` is installed, you can use `call nvim_lsp#setup("rust_analyzer", {})` +or `lua require'nvim_lsp'.rust_analyzer.setup({})` to quickly get set up. + * Install coc.nvim by following the instructions at [coc.nvim] - You will need nodejs installed. - You may want to include some of the sample vim configurations [from here][coc-vim-conf] -- cgit v1.2.3