diff --git a/syntax_checkers/c/gcc.vim b/syntax_checkers/c/gcc.vim index 1dad1dcb..0f13f7b9 100644 --- a/syntax_checkers/c/gcc.vim +++ b/syntax_checkers/c/gcc.vim @@ -67,6 +67,10 @@ " format: " " let g:syntastic_c_errorformat = '%f:%l:%c: %trror: %m' +" +" Set your compiler executable with e.g. (defaults to gcc) +" +" let g:syntastic_c_checker = 'clang' if exists('loaded_gcc_syntax_checker') finish