From df9f7057d18f996b9e40c9c57eea3e016350abdf Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Wed, 3 Oct 2018 14:53:01 +0300 Subject: [PATCH] Checker ada/gcc: fix checking of header files. --- plugin/syntastic.vim | 2 +- syntax_checkers/ada/gcc.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 64d59b3c..358edd3e 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.9.0-15' +let g:_SYNTASTIC_VERSION = '3.9.0-16' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/ada/gcc.vim b/syntax_checkers/ada/gcc.vim index 3f48d2b6..44a0de33 100644 --- a/syntax_checkers/ada/gcc.vim +++ b/syntax_checkers/ada/gcc.vim @@ -33,7 +33,7 @@ function! SyntaxCheckers_ada_gcc_GetLocList() dict \ '%f:%l:%c: %m,' . \ '%f:%l: %m', \ 'main_flags': '-c -x ada -gnats -gnatef', - \ 'header_flags': '-x ada -gnats -gnatef', + \ 'header_flags': '-S -x ada -gnats -gnatef', \ 'header_names': '\.ads$' }) endfunction