diff options
author | w0rp <devw0rp@gmail.com> | 2017-01-13 09:23:03 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-01-13 09:23:03 +0000 |
commit | f412b4f96fa49f4ed856db25c10bdf4b9c2e4cec (patch) | |
tree | cb2b83e70fac146c2597dcd98cd0e8069c76c652 /ale_linters/rust/cargo.vim | |
parent | 3b486d3475af81838788c4e5581ed16e35e368b9 (diff) | |
download | ale-f412b4f96fa49f4ed856db25c10bdf4b9c2e4cec.zip |
Fix some naming conventions and use abort for all Rust functions, and disable the rust linters for now, re #256
Diffstat (limited to 'ale_linters/rust/cargo.vim')
-rw-r--r-- | ale_linters/rust/cargo.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/rust/cargo.vim b/ale_linters/rust/cargo.vim index 0cfc1665..0f04f275 100644 --- a/ale_linters/rust/cargo.vim +++ b/ale_linters/rust/cargo.vim @@ -2,7 +2,7 @@ " Description: rustc invoked by cargo for rust files -function! ale_linters#rust#cargo#cargo_or_not_cargo(bufnr) +function! ale_linters#rust#cargo#GetCargoExecutable(bufnr) if ale#util#FindNearestFile(a:bufnr, 'Cargo.toml') !=# '' return 'cargo' else @@ -14,8 +14,8 @@ endfunction call ale#linter#Define('rust', { \ 'name': 'cargo', -\ 'executable_callback': 'ale_linters#rust#cargo#cargo_or_not_cargo', +\ 'executable_callback': 'ale_linters#rust#cargo#GetCargoExecutable', \ 'command': 'cargo rustc -- --error-format=json -Z no-trans', -\ 'callback': 'ale_linters#rust#rustc#handle_rustc_errors', +\ 'callback': 'ale_linters#rust#rustc#HandleRustcErrors', \ 'output_stream': 'stderr', \}) |