I have Vim set up, with +python (:version says it’s ok). My .vimrc contains
filetype plugin on
set ofu=syntaxcomplete#Complete
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
When some .py file is open, and I type i.e. pri and press Ctrl–X, Ctrl–O, it says no pattern was found? Am I missing something? Can I somehow rebuild Vim’s Python keyword database?
Rather than
syntaxcomplete#Complete, usepythoncomplete#Complete: