diff options
author | w0rp <devw0rp@gmail.com> | 2017-07-05 12:56:08 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-07-05 12:56:08 +0100 |
commit | 1b8450e7a0371c7281a1d15a44e7c7855d51efd6 (patch) | |
tree | c3b267398902281b98d26e19401280b588a0ba6e | |
parent | 35093e8f0d5d7a3474ecf3da8e46ac02b781711a (diff) | |
download | ale-1b8450e7a0371c7281a1d15a44e7c7855d51efd6.zip |
#729 Fix // in virtualenv paths
-rw-r--r-- | autoload/ale/python.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 02e26b41..4c516abf 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 |