Bugfix: ParseCFlagsFromMakeOutput was never being called (#3574)
Previously, the make output was never being parsed, even when the `c_parse_makefile` option was set.
This commit is contained in:
parent
8beb67b4d1
commit
77c034884b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue