aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/youcompleteme.vim
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-03 01:29:22 +0800
committerGuangxiong Lin <[email protected]>2022-04-03 01:29:22 +0800
commit250788b0fdafc3bc64c7f1d0bbca41c93a23d39b (patch)
treedb4c93a419ae9c3b2c8015205cdf36b1590be5ef /.vim/after/plugin/youcompleteme.vim
parent91b03d5bef89e9e22c551f306844c29676569e6e (diff)
downloaddotfiles-250788b0fdafc3bc64c7f1d0bbca41c93a23d39b.tar.gz
dotfiles-250788b0fdafc3bc64c7f1d0bbca41c93a23d39b.tar.bz2
dotfiles-250788b0fdafc3bc64c7f1d0bbca41c93a23d39b.zip
Use external gopls and clangd in ycm (vim)
Diffstat (limited to '.vim/after/plugin/youcompleteme.vim')
-rw-r--r--.vim/after/plugin/youcompleteme.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/after/plugin/youcompleteme.vim b/.vim/after/plugin/youcompleteme.vim
index 1e1e6c4..80888ba 100644
--- a/.vim/after/plugin/youcompleteme.vim
+++ b/.vim/after/plugin/youcompleteme.vim
@@ -9,6 +9,9 @@ let g:ycm_show_diagnostics_ui = 0
let g:ycm_error_symbol = 'E>'
let g:ycm_warning_symbol = 'W>'
+let g:ycm_clangd_binary_path = 'clangd'
+let g:ycm_gopls_binary_path = 'gopls'
+
let g:ycm_filetype_whilelist = {
\ "c": 1,
\ "cpp": 1,