justmao945 / vim-clang

Clang completion plugin for vim
ISC License
358 stars 47 forks source link

How to reload `.clang`? #108

Closed krsch closed 7 years ago

krsch commented 8 years ago

Is it possible to reload .clang? I don't like restarting gvim after finding out that I have forgot one -I flag in .clang.

justmao945 commented 8 years ago

Yes, you can run : ClangCompleteInit

https://github.com/justmao945/vim-clang/blob/master/plugin/clang.vim#L1057

krsch commented 7 years ago

Thanks, it works!