Skip to content

Commit

Permalink
Merge branch 'master' of github.com:justmao945/vim-clang
Browse files Browse the repository at this point in the history
  • Loading branch information
justmao945 committed May 6, 2015
2 parents 60da6a1 + 574a2b2 commit 1101477
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Expand Up @@ -84,6 +84,28 @@ find that's too 'slow' to wait the completion...
[syswow][6].



Include file path completion ?
--------------------
Please use with [neocomplete][7], they can work well together.
```viml
" disable auto completion for vim-clang
let g:clang_auto = 0
" use neocomplete
" input patterns
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
endif
" for c and c++
let g:neocomplete#force_omni_input_patterns.c =
\ '[^.[:digit:] *\t]\%(\.\|->\)\w*'
let g:neocomplete#force_omni_input_patterns.cpp =
\ '[^.[:digit:] *\t]\%(\.\|->\)\w*\|\h\w*::\w*'
```


Options and Commands
--------------------
`:h clang.txt`
Expand All @@ -99,3 +121,4 @@ Now only tested on Linux (Ubuntu/Debian) and Mac OSX
[4]: https://github.com/tpope/vim-pathogen
[5]: https://github.com/Valloric/YouCompleteMe
[6]: https://github.com/syswow
[7]: https://github.com/Shougo/neocomplete

0 comments on commit 1101477

Please sign in to comment.