diff options
-rw-r--r-- | autoload/ale/c.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/c.vim b/autoload/ale/c.vim index 946eeca4..14621aa9 100644 --- a/autoload/ale/c.vim +++ b/autoload/ale/c.vim @@ -491,7 +491,7 @@ function! ale#c#GetCFlags(buffer, output) abort endif endif - if s:CanParseMakefile(a:buffer) && !empty(a:output) && !empty(l:cflags) + if empty(l:cflags) && s:CanParseMakefile(a:buffer) && !empty(a:output) let l:cflags = ale#c#ParseCFlagsFromMakeOutput(a:buffer, a:output) endif |