Merge pull request #3575 from hugomg/gnumakefile

Have c_parse_makefile look for GNUmakefile as well
This commit is contained in:
Horacio Sanson authored and GitHub committed 2021-02-06 21:31:16 +09:00
commit b88d3c4e4b
4 files changed
+12

No files matched your search

+4
View File
@@ -506,6 +506,10 @@ function! ale#c#GetMakeCommand(buffer) abort
if s:CanParseMakefile(a:buffer)
let l:path = ale#path#FindNearestFile(a:buffer, 'Makefile')
if empty(l:path)
let l:path = ale#path#FindNearestFile(a:buffer, 'GNUmakefile')
endif
if !empty(l:path)
let l:always_make = ale#Var(a:buffer, 'c_always_make')