mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 03:24:47 +08:00
Sets our own omnifunc and allows loading of the distribution's python ftplugin
This commit is contained in:
3
after/ftplugin/python/jedi.vim
Normal file
3
after/ftplugin/python/jedi.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
" We need our own omnifunc, so this overrides the omnifunc set by
|
||||
" $VIMRUNTIME/ftplugin/python.vim.
|
||||
setlocal omnifunc=jedi#completions
|
||||
@@ -1,5 +1,3 @@
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
if !has('python') && !has('python3')
|
||||
finish
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user