配置vim插件遇到youcompleteme插件問題解決方案


今天在Opensuse下配置vim 遇到兩個問題

配置插件找到一個很好的博客。學到一些有用技巧

http://hahaya.github.io/2013/07/26/use-vundle.html

 

但是遇到兩個問題 一個是

YouCompleteMe unavailable: requires Vim compiled with Python 2.x support

解決辦法

http://stackoverflow.com/questions/3373914/compiling-vim-with-python-support

 

就是安裝

zypper ar http://download.opensuse.org/repositories/editors/openSUSE_11.4 editors zypper in vim-enhanced zypper in vim-enhanced-7.3-112.1.x86_64
vim-enhanced on openSUSE is compiled with +python. vim-enhanced from the standard openSUSE repo crashed when trying :python print 'hello' in vim.
The compiled version from the editors repo worked for me without crashing.

我只執行了 zypper in vim-enhanced 就解決了 但是,又出現新問題,打開vim出現
cm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected; you need to compile YCM before using it. Read the docs!
解決方案
cd ~/.vim/bundle/YouCompleteMe 
./install.sh --clang-completer

搞定 原帖 http://www.cnblogs.com/ziyouchutuwenwu/archive/2013/12/23/3488193.html



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM