Created
March 2, 2011 16:34
-
-
Save 573/851214 to your computer and use it in GitHub Desktop.
_vimrc excerpt for clang_complete.vim configuration on mswin (using libclang.dll)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" {{{ clang complete - Use of Clang for completing C, C++... : Script Id 3302 | |
" Clang version > 2.8 for c++... | |
" After * . , -> and :: => automatically | |
" * <C-X><C-U> => "force" the completion. | |
" clang * can detect errors inside your code, and highlight them | |
" * can open the quickfix window automatically. | |
" When using special flags for a project (especially -I and -D ones), put the flags inside the file | |
" .clang_complete at the root of your project. | |
" | |
let g:clang_complete_auto = 1 | |
let g:clang_complete_copen = 1 | |
let g:clang_hl_errors = 1 | |
let g:clang_periodic_quickfix = 0 | |
let g:clang_snippets = 1 | |
let g:clang_conceal_snippets = 0 | |
let g:clang_exec = 'h:\\clang\\bin\\clang.exe' | |
let g:clang_user_options = '|| exit 0' | |
let g:clang_use_library = 1 | |
let g:clang_library_path = 'h:\\clang\\bin' | |
let g:clang_debug = 0 | |
" }}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment