From c92233e42f5e7753e54a4cb8eda72ae60a766e9c Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sun, 6 Jan 2013 14:26:44 +0100 Subject: [PATCH] Check for +python3 as well (refs #66) --- plugin/jedi.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/jedi.vim b/plugin/jedi.vim index ff59bb4..5a15c4c 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -5,7 +5,7 @@ " This part of the software is just the vim interface. The main source code " lies in the python files around it. -if !has('python') +if !has('python') && !has('python3') if !exists("g:jedi#squelch_py_warning") echomsg "Error: Required vim compiled with +python" endif