diff options
author | w0rp <devw0rp@gmail.com> | 2017-01-22 14:54:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-01-22 14:54:57 +0000 |
commit | d7ed49f84964aebdaa180b553e83943cd85c5d20 (patch) | |
tree | fc71c3fb869ca67864a32d4513cb27f25ce50f69 /ale_linters/rust | |
parent | e4a4fcd26bff47b3611887167a0510a5e29cbe3b (diff) | |
download | ale-d7ed49f84964aebdaa180b553e83943cd85c5d20.zip |
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
Diffstat (limited to 'ale_linters/rust')
-rw-r--r-- | ale_linters/rust/cargo.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/rust/cargo.vim b/ale_linters/rust/cargo.vim index 0f04f275..738821d7 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#GetCargoExecutable(bufnr) +function! ale_linters#rust#cargo#GetCargoExecutable(bufnr) abort if ale#util#FindNearestFile(a:bufnr, 'Cargo.toml') !=# '' return 'cargo' else |