diff options
author | Greg Anders <greg@gpanders.com> | 2019-10-06 10:29:23 -0600 |
---|---|---|
committer | Greg Anders <greg@gpanders.com> | 2019-10-06 10:29:23 -0600 |
commit | 779589884164552442cab8ab077fa37afc7317fd (patch) | |
tree | a6c9e256961f469fdeeaa8b5fb4ccfa0be81560b /ale_linters/c | |
parent | 06a97a854191b331b6ec37ef7ea0c59f671b1101 (diff) | |
download | ale-779589884164552442cab8ab077fa37afc7317fd.zip |
Add tests for clangtidy with Makefile
Diffstat (limited to 'ale_linters/c')
-rw-r--r-- | ale_linters/c/clangtidy.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ale_linters/c/clangtidy.vim b/ale_linters/c/clangtidy.vim index 67ce6c2d..553cc23b 100644 --- a/ale_linters/c/clangtidy.vim +++ b/ale_linters/c/clangtidy.vim @@ -22,10 +22,9 @@ call ale#Set('c_build_dir', '') function! ale_linters#c#clangtidy#GetCommand(buffer, output) abort let l:checks = join(ale#Var(a:buffer, 'c_clangtidy_checks'), ',') let l:build_dir = ale#c#GetBuildDirectory(a:buffer) - - " Get the extra options if we couldn't find a build directory. let l:options = '' + " Get the extra options if we couldn't find a build directory. if empty(l:build_dir) let l:options = ale#Var(a:buffer, 'c_clangtidy_options') let l:cflags = ale#c#GetCFlags(a:buffer, a:output) |