Use hostname for python paths

This commit is contained in:
Oliver Hartmann 2018-12-28 13:45:06 +01:00
parent 4b2f2933f4
commit c3e6ae67b3

View File

@ -1,3 +1,4 @@
let hostname = substitute(system('hostname'), '\n', '', '')
" =============Plugins==================
call plug#begin()
Plug 'morhetz/gruvbox'
@ -101,8 +102,10 @@ map <C-C> :TComment<CR>
" =================Python==============================
if has("win32")
let g:python3_host_prog="f:\\Tools\\Python\\python.exe"
let g:python_host_prog="f:\\Tools\\Python27\\python.exe"
if hostname == "perryWin64"
let g:python3_host_prog="f:\\Tools\\Python\\python.exe"
let g:python_host_prog="f:\\Tools\\Python27\\python.exe"
end
end
" =========================Deoplete====================