Add lsp_config support for rls (#2332)

* Add lsp_config for rls
* Add working config example and test
This commit is contained in:
Nathan Henrie
2019-03-05 02:09:29 -07:00
committed by w0rp
parent c4328f2a31
commit e5746d9a83
3 changed files with 21 additions and 0 deletions

View File

@@ -172,6 +172,20 @@ g:ale_rust_rls_toolchain *g:ale_rust_rls_toolchain*
The `rls` server will only be started once per executable.
g:ale_rust_rls_config *g:ale_rust_rls_config*
*b:ale_rust_rls_config*
Type: |Dictionary|
Default: `{}`
Dictionary with configuration settings for rls. For example, to force
using clippy as linter: >
{
\ 'rust': {
\ 'clippy_preference': 'on'
\ }
\ }
===============================================================================
rustc *ale-rust-rustc*