diff options
author | roel0 <roel.postelmans@altran.com> | 2018-03-20 12:37:53 +0100 |
---|---|---|
committer | roel0 <roel.postelmans@altran.com> | 2018-03-20 12:37:53 +0100 |
commit | 38953c46266706541569f6f89c19ef8af59d36f5 (patch) | |
tree | c874ebcb028531f0493fc4c19517d0a1cf54787a /ale_linters | |
parent | 3fb7efa2c6d249ccc5b69036dbeda690c7459515 (diff) | |
download | ale-38953c46266706541569f6f89c19ef8af59d36f5.zip |
Clang parser shoud fallback on old method if parsing fails #1167
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/c/clang.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/c/clang.vim b/ale_linters/c/clang.vim index 74279b7c..366cf2d2 100644 --- a/ale_linters/c/clang.vim +++ b/ale_linters/c/clang.vim @@ -12,7 +12,7 @@ endfunction function! ale_linters#c#clang#GetCommand(buffer) abort let l:cflags = [] if g:ale_c_clang_parse_makefile - let l:cflags = join(ale#c#ParseMakefile(a:buffer), ' ') . ' ' + let l:cflags = join(ale#c#ParseMakefile(a:buffer), ' ') endif if empty(l:cflags) let l:cflags = ale#c#IncludeOptions(ale#c#FindLocalHeaderPaths(a:buffer)) |