diff options
Diffstat (limited to 'ale_linters/rust/rustc.vim')
-rw-r--r-- | ale_linters/rust/rustc.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ale_linters/rust/rustc.vim b/ale_linters/rust/rustc.vim index bc6431ba..c7a06cc7 100644 --- a/ale_linters/rust/rustc.vim +++ b/ale_linters/rust/rustc.vim @@ -2,6 +2,10 @@ " Description: rustc for rust files call ale#Set('rust_rustc_options', '--emit=mir -o /dev/null') +" FIXME Both cargo and rustc uses ale#handlers#rust#HandleRustErrors which +" might or might not require this, depending on the fix for [#1570] +" (https://github.com/dense-analysis/ale/issues/1570). +" call ale#Set('rust_only_current_buffer', '0') function! ale_linters#rust#rustc#RustcCommand(buffer) abort " Try to guess the library search path. If the project is managed by cargo, |