diff options
author | w0rp <devw0rp@gmail.com> | 2019-11-07 15:41:58 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-11-07 15:41:58 +0000 |
commit | bde9b1cfcd9cf4808ce29014851b3f7592574d99 (patch) | |
tree | 45d6a7d7b2020aba82f1ff246cf6ddff19793a68 /ale_linters/c | |
parent | 5eefe544ed3829b5f5d977c133361dc6ac907e05 (diff) | |
download | ale-bde9b1cfcd9cf4808ce29014851b3f7592574d99.zip |
Revert "Add definition of c/clangd's language as C (#2791)"
This reverts commit f4070f6c43b3cb2e7463d8426a68d5a726991288.
Diffstat (limited to 'ale_linters/c')
-rw-r--r-- | ale_linters/c/clangd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |