From bde9b1cfcd9cf4808ce29014851b3f7592574d99 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 7 Nov 2019 15:41:58 +0000 Subject: Revert "Add definition of c/clangd's language as C (#2791)" This reverts commit f4070f6c43b3cb2e7463d8426a68d5a726991288. --- ale_linters/c/clangd.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') diff --git a/ale_linters/c/clangd.vim b/ale_linters/c/clangd.vim index ab8a0259..c42d4497 100644 --- a/ale_linters/c/clangd.vim +++ b/ale_linters/c/clangd.vim @@ -8,7 +8,7 @@ call ale#Set('c_build_dir', '') function! ale_linters#c#clangd#GetCommand(buffer) abort let l:build_dir = ale#c#GetBuildDirectory(a:buffer) - return '%e -x c' + return '%e' \ . ale#Pad(ale#Var(a:buffer, 'c_clangd_options')) \ . (!empty(l:build_dir) ? ' -compile-commands-dir=' . ale#Escape(l:build_dir) : '') endfunction -- cgit v1.2.3