aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-29 07:32:58 +0100
committerGitHub <[email protected]>2020-04-29 07:32:58 +0100
commit6046804cec77d1d336b556f3dbdf964b5aa44ed7 (patch)
tree6d5b0e251e2d923367b3daab8d8c24e85e000a42
parent549ce9a9cf25efa3eba6549f96b2e43bc640faa9 (diff)
parent7edd293e5ca9b97953b37efda4d33654aa74e887 (diff)
Merge #4199
4199: add ale to the nvim setup section of the readme r=matklad a=c-cube Co-authored-by: Simon Cruanes <[email protected]>
-rw-r--r--docs/user/readme.adoc15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index 76d065d35..5a78f06a9 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -212,6 +212,21 @@ let g:ycm_language_server =
212\ ] 212\ ]
213---- 213----
214 214
215==== ALE
216
217To add the LSP server to https://github.com/dense-analysis/ale[ale]:
218
219[source,vim]
220----
221call ale#linter#Define('rust', {
222\ 'name': 'rust-analyzer',
223\ 'lsp': 'stdio',
224\ 'executable': 'rust-analyzer',
225\ 'command': '%e',
226\ 'project_root': '.',
227\})
228----
229
215==== nvim-lsp 230==== nvim-lsp
216 231
217NeoVim 0.5 (not yet released) has built-in language server support. 232NeoVim 0.5 (not yet released) has built-in language server support.