From 1b8450e7a0371c7281a1d15a44e7c7855d51efd6 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 5 Jul 2017 12:56:08 +0100 Subject: [PATCH] #729 Fix // in virtualenv paths --- autoload/ale/python.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 02e26b4..4c516ab 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -27,7 +27,7 @@ endfunction function! ale#python#FindVirtualenv(buffer) abort for l:path in ale#path#Upwards(expand('#' . a:buffer . ':p:h')) for l:dirname in ale#Var(a:buffer, 'virtualenv_dir_names') - let l:venv_dir = l:path . '/' . l:dirname + let l:venv_dir = simplify(l:path . '/' . l:dirname) if filereadable(l:venv_dir . '/bin/activate') return l:venv_dir