forked from VimPlug/jedi-vim
add a Python command that is able to execute python3 and python2
This commit is contained in:
1 parent
c92233e42f
commit
b63454ebd4
1 file changed
+6
@@ -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:
|
||||
Reference in new issue
Block a user