neocomplcache-clang_complete


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2011-12-10
使用用户:  15
Github星:  15
插件作者:  osyo-manga

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'osyo-manga/neocomplcache-clang-complete'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'osyo-manga/neocomplcache-clang-complete'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'osyo-manga/neocomplcache-clang-complete'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/osyo-manga/neocomplcache-clang_complete

Ⅳ. 文档说明

This is deprecated.
Use neocomplcache and clang_complete.

" :help neocomplcache-faq
if !exists('g:neocomplcache_force_omni_patterns')
let g:neocomplcache_force_omni_patterns = {}
endif
let g:neocomplcache_force_overwrite_completefunc = 1
let g:neocomplcache_force_omni_patterns.c =

  \ '[^.[:digit:] *\t]\%(\.\|->\)'

let g:neocomplcache_force_omni_patterns.cpp =

  \ '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::'

let g:neocomplcache_force_omni_patterns.objc =

  \ '[^.[:digit:] *\t]\%(\.\|->\)'

let g:neocomplcache_force_omni_patterns.objcpp =

  \ '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::'

let g:clang_complete_auto = 0
let g:clang_auto_select = 0
"let g:clang_use_library = 1

添加新评论