aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugins/youcompleteme.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/plugins/youcompleteme.vim')
-rw-r--r--.vim/plugins/youcompleteme.vim8
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
+ \ }