Move path functions to their own file

This commit is contained in:
w0rp committed 2017-04-17 23:29:02 +01:00
1 parent 6c762237ce
commit e237add9fd
26 files changed
+90 -89

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ function! s:FindDUBConfig(buffer) abort
" Find a DUB configuration file in ancestor paths.
" The most DUB-specific names will be tried first.
for l:possible_filename in ['dub.sdl', 'dub.json', 'package.json']
let l:dub_file = ale#util#FindNearestFile(a:buffer, l:possible_filename)
let l:dub_file = ale#path#FindNearestFile(a:buffer, l:possible_filename)
if !empty(l:dub_file)
return l:dub_file