mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 00:20:13 +08:00
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
This commit is contained in:
1 parent
e4a4fcd26b
commit
d7ed49f849
36 files changed
+134
-43
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user