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/cpp | |
parent | 06a97a854191b331b6ec37ef7ea0c59f671b1101 (diff) | |
download | ale-779589884164552442cab8ab077fa37afc7317fd.zip |
Add tests for clangtidy with Makefile
Diffstat (limited to 'ale_linters/cpp')
-rw-r--r-- | ale_linters/cpp/clangtidy.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ale_linters/cpp/clangtidy.vim b/ale_linters/cpp/clangtidy.vim index 7c8defa4..191b7b07 100644 --- a/ale_linters/cpp/clangtidy.vim +++ b/ale_linters/cpp/clangtidy.vim @@ -16,10 +16,9 @@ call ale#Set('c_build_dir', '') function! ale_linters#cpp#clangtidy#GetCommand(buffer, output) abort let l:checks = join(ale#Var(a:buffer, 'cpp_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, 'cpp_clangtidy_options') let l:cflags = ale#c#GetCFlags(a:buffer, a:output) |