From e237add9fdec64c80ed57f383e2b73464fb4b43d Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 17 Apr 2017 23:29:02 +0100 Subject: Move path functions to their own file --- ale_linters/rust/rustc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/rust/rustc.vim') diff --git a/ale_linters/rust/rustc.vim b/ale_linters/rust/rustc.vim index 1d080b98..73c99cd9 100644 --- a/ale_linters/rust/rustc.vim +++ b/ale_linters/rust/rustc.vim @@ -5,7 +5,7 @@ function! ale_linters#rust#rustc#RustcCommand(buffer_number) abort " Try to guess the library search path. If the project is managed by cargo, " it's usually /target/debug/deps/ or " /target/release/deps/ - let l:cargo_file = ale#util#FindNearestFile(a:buffer_number, 'Cargo.toml') + let l:cargo_file = ale#path#FindNearestFile(a:buffer_number, 'Cargo.toml') if l:cargo_file !=# '' let l:project_root = fnamemodify(l:cargo_file, ':h') -- cgit v1.2.3