summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
diff options
context:
space:
mode:
authorMurfalo <howdy@murfalo.com>2019-10-09 13:40:04 -0400
committerMurfalo <howdy@murfalo.com>2019-10-09 13:40:04 -0400
commita62f26434ac68eaddea7642201ddf0335e91d384 (patch)
tree11d2744355a7f1ff1ab15316a765661df3509e4a /ale_linters/cpp
parent35f51221f1519c591a6d26a8d8acd12388deab50 (diff)
downloadale-a62f26434ac68eaddea7642201ddf0335e91d384.zip
Added tests for clangd compile commands dectection
Diffstat (limited to 'ale_linters/cpp')
-rw-r--r--ale_linters/cpp/clangd.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/cpp/clangd.vim b/ale_linters/cpp/clangd.vim
index 8b7f0284..14f3fe55 100644
--- a/ale_linters/cpp/clangd.vim
+++ b/ale_linters/cpp/clangd.vim
@@ -3,6 +3,7 @@
call ale#Set('cpp_clangd_executable', 'clangd')
call ale#Set('cpp_clangd_options', '')
+call ale#Set('c_build_dir', '')
function! ale_linters#cpp#clangd#GetCommand(buffer) abort
let l:build_dir = ale#c#GetBuildDirectory(a:buffer)