diff options
author | gxlin <[email protected]> | 2021-03-16 19:47:31 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-03-18 23:57:40 +0800 |
commit | bd166c76b65006f2945d5072fe07e4777c085eff (patch) | |
tree | 1338f3b55e33d4f42bdc12f36d5a50557c01e70f /.vim/plugins/youcompleteme.vim | |
parent | 06929ba11c0ef83da2462f60ee8c6dc07a2aa9a4 (diff) | |
download | dotfiles-bd166c76b65006f2945d5072fe07e4777c085eff.tar.gz dotfiles-bd166c76b65006f2945d5072fe07e4777c085eff.tar.bz2 dotfiles-bd166c76b65006f2945d5072fe07e4777c085eff.zip |
More vim config
Diffstat (limited to '.vim/plugins/youcompleteme.vim')
-rw-r--r-- | .vim/plugins/youcompleteme.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.vim/plugins/youcompleteme.vim b/.vim/plugins/youcompleteme.vim index 449e8ff..e289214 100644 --- a/.vim/plugins/youcompleteme.vim +++ b/.vim/plugins/youcompleteme.vim @@ -1,4 +1,7 @@ -Plug 'Valloric/YouCompleteMe', {'do': 'python3 ./install.py --clangd-completer'} +Plug 'Valloric/YouCompleteMe', { + \ 'do': 'python3 ./install.py --clangd-completer', + \ 'for': ['python', 'cpp'] + \ } let g:ycm_server_log_level = 'info' let g:ycm_add_preview_to_completeopt = 0 @@ -10,3 +13,6 @@ let g:ycm_filetype_whilelist = { \ "c": 1, "cpp": 1, "sh": 1, "zsh": 1, \ "python": 1, \ } +let g:ycm_filetype_blacklist = { + \ 'ledger': 1 + \ } |