From 05cac0c5854db33c5ca2e7d7c4bb8621cb34491f Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 22 Sep 2012 18:55:45 +0200 Subject: [PATCH] jedi#complete should always be the default -> see discussion in #1 --- jedi | 2 +- plugin/jedi.vim | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jedi b/jedi index f9595d7..f6d2fdc 160000 --- a/jedi +++ b/jedi @@ -1 +1 @@ -Subproject commit f9595d789788cfd74be75315fbf71f295fe6439e +Subproject commit f6d2fdcf592e89b0bb96fb61cd4f7bd557dc91c5 diff --git a/plugin/jedi.vim b/plugin/jedi.vim index cc2dcc6..998618e 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -57,6 +57,10 @@ endif set switchbuf=useopen " needed for pydoc let s:current_file=expand("") +if g:jedi#auto_initialization + autocmd FileType python setlocal omnifunc=jedi#complete +endif + python << PYTHONEOF """ here we initialize the jedi stuff """ import vim