aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/user/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index affb96939..47fc840f7 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -89,6 +89,25 @@ to load path and require it in `init.el`
89* (Optionally) bind commands like `rust-analyzer-join-lines` or `rust-analyzer-extend-selection` to keys 89* (Optionally) bind commands like `rust-analyzer-join-lines` or `rust-analyzer-extend-selection` to keys
90 90
91 91
92## Vim and NeoVim
93
94* Install coc.nvim by following the instructions at [coc.nvim]
95* Add rust analyzer using: [coc.nvim wiki][coc-wiki]
96
97```jsonc
98 "languageserver": {
99 "rust": {
100 "command": "ra_lsp_server",
101 "filetypes": ["rust"],
102 "rootPatterns": ["Cargo.toml"]
103 }
104}
105```
106
107[coc.nvim]: https://github.com/neoclide/coc.nvim
108[coc-wiki]: https://github.com/neoclide/coc.nvim/wiki/Language-servers#rust
109
110
92## Sublime Text 3 111## Sublime Text 3
93 112
94Prequisites: 113Prequisites: