From f412b4f96fa49f4ed856db25c10bdf4b9c2e4cec Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 13 Jan 2017 09:23:03 +0000 Subject: Fix some naming conventions and use abort for all Rust functions, and disable the rust linters for now, re #256 --- ale_linters/rust/cargo.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ale_linters/rust/cargo.vim') 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', \}) -- cgit v1.2.3