diff options
-rw-r--r-- | docs/user/readme.adoc | 15 |
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 | |||
217 | To add the LSP server to https://github.com/dense-analysis/ale[ale]: | ||
218 | |||
219 | [source,vim] | ||
220 | ---- | ||
221 | call 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 | ||
217 | NeoVim 0.5 (not yet released) has built-in language server support. | 232 | NeoVim 0.5 (not yet released) has built-in language server support. |