mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-06 03:23:29 +08:00
Add lsp_config support for rls (#2332)
* Add lsp_config for rls * Add working config example and test
This commit is contained in:
@@ -23,3 +23,8 @@ Execute(The project root should be detected correctly):
|
||||
call ale#test#SetFilename('rust-rls-project/test.rs')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/rust-rls-project')
|
||||
|
||||
Execute(Should accept configuration settings):
|
||||
AssertLSPConfig {}
|
||||
let b:ale_rust_rls_config = {'rust': {'clippy_preference': 'on'}}
|
||||
AssertLSPConfig {'rust': {'clippy_preference': 'on'}}
|
||||
|
||||
Reference in New Issue
Block a user