Linux VIM自动提示插件安装配置

来源:互联网 发布:知乎 苏德战争 编辑:程序博客网 时间:2024/05/16 01:52

GitHub上有大牛奉献了自己的配置方案,这里我做个推广,希望能帮助到需要使用VIM的童鞋。
作者是使用YCM(YouCompleteMe)自动补全插件,但是里面包含了30+个其它插件,可能中间编译时间会比较长!
GitHub网址:https://github.com/wklken/k-vim

遇到问题:
STDERR:
Your C++ compiler supports C++11, compiling in that mode.
Downloading Clang 3.5
CMake Error at ycm/CMakeLists.txt:62 (message):
No pre-built Clang 3.6 binaries for 32 bit linux. You’ll have to compile Clang 3.6 from source. See the YCM docs for details on how to use a user-compiled libclang.
解决办法:安装Clang,重新编译。
用系统的包管理器安装Clang,再
./install.sh –clang-completer –system-libclang

0 0
原创粉丝点击