Quiet py3 imp/importlib complaints
This commit is contained in:
parent
d1de7cafc3
commit
e829a603a8
1 changed files with 3 additions and 4 deletions
|
@ -12,10 +12,9 @@ set wrap
|
||||||
set linebreak
|
set linebreak
|
||||||
set nolist
|
set nolist
|
||||||
|
|
||||||
" Attempt to fix python/python3 issue
|
" Stop the py3 imp complaining for YCM (and others using python3
|
||||||
" To run py2 stuff, you can force with "vim --cmd 'let py2 = 1'
|
if !has('patch-8.1.201')
|
||||||
if exists('py2') && has('python')
|
silent! python3 1
|
||||||
elseif has('python3')
|
|
||||||
endif
|
endif
|
||||||
" set the runtime path to include Vundle and initialize
|
" set the runtime path to include Vundle and initialize
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
|
Loading…
Reference in a new issue