mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
add unused auto-initialization (Python is not a valid filetype)
This commit is contained in:
@@ -73,14 +73,6 @@ endfor
|
||||
if g:jedi#auto_vim_configuration
|
||||
filetype plugin on
|
||||
endif
|
||||
if g:jedi#auto_initialization
|
||||
" this is only here because in some cases the VIM library adds their
|
||||
" autocompletion as a default, which may cause problems, depending on the
|
||||
" order of invocation.
|
||||
if g:jedi#completions_enabled
|
||||
autocmd FileType Python setlocal omnifunc=jedi#completions switchbuf=useopen " needed for documentation/pydoc
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
" ------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user