diff options
Diffstat (limited to 'runtime/compiler/gcc.vim')
-rw-r--r-- | runtime/compiler/gcc.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/compiler/gcc.vim b/runtime/compiler/gcc.vim index d666708083..a62415f6b2 100644 --- a/runtime/compiler/gcc.vim +++ b/runtime/compiler/gcc.vim @@ -11,7 +11,7 @@ let current_compiler = "gcc" let s:cpo_save = &cpo set cpo-=C -setlocal errorformat= +CompilerSet errorformat= \%*[^\"]\"%f\"%*\\D%l:\ %m, \\"%f\"%*\\D%l:\ %m, \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, @@ -25,7 +25,7 @@ setlocal errorformat= \%DMaking\ %*\\a\ in\ %f if exists('g:compiler_gcc_ignore_unmatched_lines') - let &errorformat .= ',%-G%.%#' + CompilerSet errorformat+=%-G%.%# endif let &cpo = s:cpo_save |