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 nolist
|
||||
|
||||
" Attempt to fix python/python3 issue
|
||||
" To run py2 stuff, you can force with "vim --cmd 'let py2 = 1'
|
||||
if exists('py2') && has('python')
|
||||
elseif has('python3')
|
||||
" Stop the py3 imp complaining for YCM (and others using python3
|
||||
if !has('patch-8.1.201')
|
||||
silent! python3 1
|
||||
endif
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
|
Loading…
Reference in a new issue