From 7edd293e5ca9b97953b37efda4d33654aa74e887 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 28 Apr 2020 21:01:10 -0400 Subject: add ale to the nvim setup section of the readme --- docs/user/readme.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 = \ ] ---- +==== ALE + +To add the LSP server to https://github.com/dense-analysis/ale[ale]: + +[source,vim] +---- +call ale#linter#Define('rust', { +\ 'name': 'rust-analyzer', +\ 'lsp': 'stdio', +\ 'executable': 'rust-analyzer', +\ 'command': '%e', +\ 'project_root': '.', +\}) +---- + ==== nvim-lsp NeoVim 0.5 (not yet released) has built-in language server support. -- cgit v1.2.3