From: Samir Benmendil Date: Sat, 26 Sep 2020 17:51:30 +0000 (+0100) Subject: vim: enable clang-tidy for ycm clangd X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/503760d8842c55997e2072180f237a2419f30939?ds=inline vim: enable clang-tidy for ycm clangd --- diff --git a/vim/vimrc b/vim/vimrc index 656771c..534116d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -752,6 +752,7 @@ endfunction " youcompleteme {{{2 let g:ycm_clangd_binary_path = 'clangd' " use clangd in path +let g:ycm_clangd_args = ['--clang-tidy'] let g:ycm_extra_conf_vim_data = ['getcwd()'] let g:ycm_add_preview_to_completeopt = 1 let g:ycm_complete_in_comments = 1