summaryrefslogtreecommitdiff
path: root/ale_linters/c
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/c
parent35f51221f1519c591a6d26a8d8acd12388deab50 (diff)
downloadale-a62f26434ac68eaddea7642201ddf0335e91d384.zip
Added tests for clangd compile commands dectection
Diffstat (limited to 'ale_linters/c')
-rw-r--r--ale_linters/c/clangd.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/c/clangd.vim b/ale_linters/c/clangd.vim
index 5ca30973..c42d4497 100644
--- a/ale_linters/c/clangd.vim
+++ b/ale_linters/c/clangd.vim
@@ -3,6 +3,7 @@
call ale#Set('c_clangd_executable', 'clangd')
call ale#Set('c_clangd_options', '')
+call ale#Set('c_build_dir', '')
function! ale_linters#c#clangd#GetCommand(buffer) abort
let l:build_dir = ale#c#GetBuildDirectory(a:buffer)