diff --git a/plugin/jedi.vim b/plugin/jedi.vim index 5a15c4c..f5781c0 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -51,4 +51,10 @@ if g:jedi#auto_initialization autocmd FileType python setlocal omnifunc=jedi#complete switchbuf=useopen " needed for pydoc endif +if has('python') + command! Python python +else + command! Python python3 +end + " vim: set et ts=4: