Use hostname for python paths
This commit is contained in:
parent
4b2f2933f4
commit
c3e6ae67b3
3
init.vim
3
init.vim
@ -1,3 +1,4 @@
|
||||
let hostname = substitute(system('hostname'), '\n', '', '')
|
||||
" =============Plugins==================
|
||||
call plug#begin()
|
||||
Plug 'morhetz/gruvbox'
|
||||
@ -101,9 +102,11 @@ map <C-C> :TComment<CR>
|
||||
|
||||
" =================Python==============================
|
||||
if has("win32")
|
||||
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====================
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user