Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/user/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down