From 77c034884b49dee0af6bc1024884921079cc9bdb Mon Sep 17 00:00:00 2001 From: Hugo Gualandi Date: Sat, 6 Feb 2021 16:06:01 -0300 Subject: [PATCH] Bugfix: ParseCFlagsFromMakeOutput was never being called (#3574) Previously, the make output was never being parsed, even when the `c_parse_makefile` option was set. --- autoload/ale/c.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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