snowdrop.vim is libclang wrapper.
+python
:SnowdropGotoDefinition
:SnowdropEchoTypeof
:SnowdropEchoResultTypeof
:SnowdropEchoIncludes
:Unite snowdrop/includes
:Unite snowdrop/outline
NeoBundle "osyo-manga/vim-snowdrop"
" set libclang directory path
let g:snowdrop#libclang_directory = "C:/llvm/bin"
" set include directory path.
let g:snowdrop#include_paths = {
\ "cpp" : [
\ "C:/cpp/boost",
\ "C:/cpp/sprout",
\ ]
\}
" set clang command options.
let g:snowdrop#command_options = {
\ "cpp" : "-std=c++1y",
\}
" Type of cursor
:SnowdropEchoTypeof
function! s:cpp()
setlocal balloonexpr=snowdrop#ballonexpr_typeof()
setlocal ballooneval
endfunction
augroup my-cpp
autocmd!
autocmd FileType cpp call s:cpp()
augroup END
:SnowdropEchoResultTypeof
:SnowdropEchoIncludes
:Unite snowdrop/includes
:Unite snowdrop/outline
Use neocomplete.vim.
" Enable code completion in neocomplete.vim.
let g:neocomplete#sources#snowdrop#enable = 1
" Not skip
let g:neocomplete#skip_auto_completion_time = ""