mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-10 15:25:51 +08:00
Ban !=# and !=? from the codebase
This commit is contained in:
1 parent
b1462ac66c
commit
d5ae3201a4
24 files changed
+37
-33
No files matched your search
@@ -4,7 +4,7 @@
|
||||
let g:ale_rust_cargo_use_check = get(g:, 'ale_rust_cargo_use_check', 0)
|
||||
|
||||
function! ale_linters#rust#cargo#GetCargoExecutable(bufnr) abort
|
||||
if ale#path#FindNearestFile(a:bufnr, 'Cargo.toml') !=# ''
|
||||
if ale#path#FindNearestFile(a:bufnr, 'Cargo.toml') isnot# ''
|
||||
return 'cargo'
|
||||
else
|
||||
" if there is no Cargo.toml file, we don't use cargo even if it exists,
|
||||
|
||||
Reference in new issue
Block a user