From d5ae3201a4128c9e7b1042e9ea40b7f13cf72a10 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 11 Aug 2017 00:31:42 +0100 Subject: =?UTF-8?q?Ban=20!=3D#=20and=20!=3D=3F=20from=20the=20codebase?= --- ale_linters/rust/cargo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/rust/cargo.vim') diff --git a/ale_linters/rust/cargo.vim b/ale_linters/rust/cargo.vim index 32c09a58..f19061ad 100644 --- a/ale_linters/rust/cargo.vim +++ b/ale_linters/rust/cargo.vim @@ -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, -- cgit v1.2.3