简体   繁体   中英

Vim YouCompleteMe Pattern Not Found Error

I'm getting the following error in MacVim on Yosemite from YouCompleteMe whenever I write Javascript. It happens almost every line.

错误信息

Can someone please help me silence this message?

I know I am running the latest version of MacVim w/ homebrew. I have tried this patch but it didn't work.

Upgrade to include vim patch 7.4.314 and the message will automatically disappear if you are using YouCompleteMe.

Patch 7.4.314 introduced the shortmess c option which disables that message. From :help shortmess

 c don't give |ins-completion-menu| messages.  For example,
    "-- XXX completion (YYY)", "match 1 of 2", "The only match",
    "Pattern not found", "Back at original", etc.

YCM will automatically set this if it detects that vim has the necessary patch.

macports does not currently support up to this patch level. So the only options is to either wait until macports adds it or compile from source.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM