diff options
Diffstat (limited to 'ale_linters/c/clangtidy.vim')
-rw-r--r-- | ale_linters/c/clangtidy.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/c/clangtidy.vim b/ale_linters/c/clangtidy.vim index 47faa1ef..d456a5a2 100644 --- a/ale_linters/c/clangtidy.vim +++ b/ale_linters/c/clangtidy.vim @@ -35,7 +35,7 @@ function! s:GetBuildDirectory(buffer) abort return l:build_dir endif - return ale#c#FindCompileCommands(a:buffer) + return ale#path#Dirname(ale#c#FindCompileCommands(a:buffer)) endfunction function! ale_linters#c#clangtidy#GetCommand(buffer) abort |