Skip to content

Instantly share code, notes, and snippets.

@573
Created March 2, 2011 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 573/851214 to your computer and use it in GitHub Desktop.
Save 573/851214 to your computer and use it in GitHub Desktop.
_vimrc excerpt for clang_complete.vim configuration on mswin (using libclang.dll)
" {{{ 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