Clang autocomplete added.

This commit is contained in:
Kolan Sh 2013-08-02 17:36:49 +04:00
parent 9c4f64c210
commit b80a59cbd6
1 changed files with 2 additions and 0 deletions

2
.vimrc
View File

@ -168,6 +168,7 @@ Bundle 'git://git.wincent.com/command-t.git'
" ... " ...
Bundle 'majutsushi/tagbar' Bundle 'majutsushi/tagbar'
Bundle 'vim-startify' Bundle 'vim-startify'
Bundle 'clang-complete'
filetype plugin indent on " required! filetype plugin indent on " required!
" "
@ -184,6 +185,7 @@ filetype plugin indent on " required!
" let g:clang_complete_copen = 1 " let g:clang_complete_copen = 1
" let g:clang_user_options='|| exit 0' " let g:clang_user_options='|| exit 0'
filetype plugin on filetype plugin on
let g:clang_library_path="/usr/lib/llvm"
let g:clang_user_options='|| exit 0' let g:clang_user_options='|| exit 0'
let g:clang_complete_auto = 1 let g:clang_complete_auto = 1
let g:clang_complete_copen = 1 let g:clang_complete_copen = 1