mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-19 23:09:58 +08:00
Close #4461 - Use rust-analyzer by default
Use rust-analyzer by default instead of rls, as rls has been deprecated.
This commit is contained in:
+4
-3
@@ -33,11 +33,12 @@ Integration Information
|
||||
5. rustfmt -- If you have `rustfmt` installed, you can use it as a fixer to
|
||||
consistently reformat your Rust code.
|
||||
|
||||
Only cargo and rls are enabled by default. To switch to using rustc instead
|
||||
of cargo, configure |g:ale_linters| appropriately: >
|
||||
Only cargo and rust-analyze are enabled by default. To switch to using rustc
|
||||
instead of cargo, configure |b:ale_linters| in your ftplugin file
|
||||
appropriately: >
|
||||
|
||||
" See the help text for the option for more information.
|
||||
let g:ale_linters = {'rust': ['rustc', 'rls']}
|
||||
let b:ale_linters = ['analyzer', 'rustc']
|
||||
<
|
||||
|
||||
Also note that rustc 1.18. or later is needed.
|
||||
|
||||
Reference in New Issue
Block a user