Use hostname for python paths
This commit is contained in:
parent
4b2f2933f4
commit
c3e6ae67b3
7
init.vim
7
init.vim
@ -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====================
|
||||
|
Loading…
x
Reference in New Issue
Block a user