]> git.rmz.io Git - dotfiles.git/commitdiff
vim: enable clang-tidy for ycm clangd
authorSamir Benmendil <me@rmz.io>
Sat, 26 Sep 2020 17:51:30 +0000 (18:51 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 26 Sep 2020 17:51:30 +0000 (18:51 +0100)
vim/vimrc

index 656771c84a0c21820fc675837da4ba2f520fba62..534116d2eac0f115dba86901c76423d61dfce521 100644 (file)
--- 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