aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Cruanes <[email protected]>2020-04-29 02:01:10 +0100
committerGitHub <[email protected]>2020-04-29 02:01:10 +0100
commit7edd293e5ca9b97953b37efda4d33654aa74e887 (patch)
tree6d5b0e251e2d923367b3daab8d8c24e85e000a42
parent549ce9a9cf25efa3eba6549f96b2e43bc640faa9 (diff)
add ale to the nvim setup section of the readme
-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.