Youcompleteme: User defined completion (^U^N^P) Pattern not found II.

Created on 1 Jul 2015  路  14Comments  路  Source: ycm-core/YouCompleteMe

Hello guys! I keep getting this error message(I read the older issues, but upgrading my vim is not solution, bacause I already have that):
screenshot_2015-07-01_10-55-38

I have the lastest vim:

screenshot_2015-07-01_10-56-24

Issue 2:
Sometimes for first try, ycm doesn't want to autocomplete on dot:
screenshot_2015-07-01_11-01-00

But for a second try, it does(maybe there's a way to increase timeout, but I didn't find any options):
screenshot_2015-07-01_11-01-23

Most helpful comment

Could you add the line set shortmess+=c to your .vimrc? It should solve the first issue.

All 14 comments

Could you add the line set shortmess+=c to your .vimrc? It should solve the first issue.

Nope, that's not solve my first issue.

The second issue is not really an issue: jedi sometimes at the first request need a little time. The first one is really strange :/

Could you check the output of the command :echo has("patch-7.4.314") in Vim? It should return 1.
Check also the result of the command :set shortmess?. The flag c should be present.

Closing because no response.

Please feel free to respond with answers to @micbou's questions.

Adding set shortmess+=c works perfectly thank you

@staycreativedesign is strange that you had to use it manually. YCM should set it if vim is new enough :confused:

I am getting this message in my vim. further, I cannot append shortmess with c either. It says illegal character

:h shortmess shows that it does not take c as a command.

Your version of Vim is probably too old. Which version are you using?

in the starting screen it says vim 7.4.52; i did the patch echo, it returned 0.
also did a sudo apt-get update and sudo apt-get install vim; that said vim is latest version

That's unfortunate. You should upgrade to a more recent version.

isn't 7.4.52 more recent than 7.4.314?
also if i have to upgrade could you tell me how?

No, the third number start to 0 and is incremented for each patch.

Had to build vim from source (7.4.1265). The guides were quite followable. Think its working now.

Appreciate the responses. Great plugin!

EDIT: (10-2-2016) I am still getting this message from time to time, but a great less frequently than before. I think it only happens with latex-box. If I look into this deeper, I will post back.

Was this page helpful?
0 / 5 - 0 ratings