12

I just installed jedi-vim with vundle My vim version is 7.3.429. I installed jedi vi pip

every time I hit . or <C-Space> I get this error.

Omni completion (^O^N^P) Pattern not found

when I searched here for this pattern I found a solution to use vim-jedi instead. But unfortunatelly this occours with jedi-vim.

Here is some output of some registers:

:set omnifunc

omnifunc=jedi#complete


:messages

Messages maintainer: Bram Moolenaar <[email protected]>
"models.py" 31L, 1052C
<emptyline>
7
  • Could you rephrase the part with "everytime I hit" Commented Oct 23, 2012 at 7:20
  • Please report back :set omnifunc and post the output of :messages (after a failed completion). Commented Oct 23, 2012 at 13:37
  • I installed jedi-vim also on my work machine and reproduced this error. I updated my question with the output. Hope this will help. Commented Oct 24, 2012 at 11:37
  • what's the content of :messages? That's much more important :-) Commented Oct 24, 2012 at 18:30
  • 1
    For the record, I have this issue also :) Commented Sep 19, 2016 at 16:36

2 Answers 2

8

Because this line was in my .vimrc:

autocmd FileType python setlocal omnifunc=pythoncomplete#Complete

I could not use jedi for a long time. When removed it, it's OK.

:set omnifunc
omnifunc=jedi#completions
Sign up to request clarification or add additional context in comments.

Comments

1

IIRC, jedi-vim was publicly released one or two weeks ago. I doubt you will get much help outside of its issue tracker.

Anyway, the plugin seems to be using Vim's omni completion under the hood, specifically the <C-x><C-o> shortcut which, in your case, doesn't seem to return anything because it can't recognize the keyword before the ..

Either jedi-vim doesn't work or your code is wrong or the plugin is badly installed.

3 Comments

Actually there hasn't been an offical "release". I wanted to do a little beta (but how do you do that with open source products :-)).
"Open source" doesn't mean "do everything publicly from day one": you could develop your project in stealth mode and put it on Github once you have gone through a couple of alpha testing rounds and you feel it's ready for scrutiny. That way you are limiting the risks accidental release on reddit/HN.
You're certainly right. It wasn't that unplanned. I just didn't want to attract as many people as it did. That's what you cannot control that well. However, Jedi is working fairly well. There are only a few minor problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.