From e829a603a8825d28317f3d3a785ae1153851c41e Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Wed, 9 Jan 2019 14:16:54 -0500 Subject: [PATCH] Quiet py3 imp/importlib complaints --- vim/vimrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 0b53aa8..269a6e0 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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