aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-05-26 06:34:02 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-05-26 06:34:02 +0100
commit4f4e50db908ba44f113faeb356ae2b3d0788d308 (patch)
treeb27273bbb81b165f3e66ec2c3815d45cae79d07a
parent91bd783273477d5709ea4bb891355e9aa9a7cdfe (diff)
parentda28dccf6262c7e820f56f265877bbb9e6f95216 (diff)
Merge #1330
1330: Add Vim and NeoVim setup section r=oblitum a=oblitum Co-authored-by: Francisco Lopes <[email protected]>
-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: