From e2c803431baafc71d09b0318ae5be7f437fa3c3c Mon Sep 17 00:00:00 2001 From: Nachuan Tang Date: Mon, 8 Aug 2022 17:15:21 -0400 Subject: [PATCH] update coc config --- .vimrc.bundles | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vimrc.bundles b/.vimrc.bundles index aa145a5..dcfcc3a 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -194,7 +194,10 @@ endif " coc-clangd: c/c++, may need to install clangd seperatly let g:coc_global_extensions = ['coc-pyright', 'coc-rls', 'coc-clangd', 'coc-tsserver', 'coc-html', 'coc-cmake', 'coc-json', 'coc-sh'] - let g:coc_user_config = g:dotfile_path . '/config/coc/setting.json' + let g:coc_user_config = { + \ 'suggest.noselect': v:true, + \ 'suggest.enablePreselect': v:false } + if filereadable(expand(config_dir . "/.exp-coc-config")) exec "source " . config_dir . "/.exp-coc-config" endif