mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-18 03:51:35 +08:00
Sets our own omnifunc and allows loading of the distribution's python ftplugin
This commit is contained in:
1 parent
45dd72b557
commit
20a63f6c0f
2 files changed
+3
-2
No files matched your search
@@ -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')
|
if !has('python') && !has('python3')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user