diff options
Diffstat (limited to '.vim/plugins/youcompleteme.vim')
-rw-r--r-- | .vim/plugins/youcompleteme.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.vim/plugins/youcompleteme.vim b/.vim/plugins/youcompleteme.vim new file mode 100644 index 0000000..449e8ff --- /dev/null +++ b/.vim/plugins/youcompleteme.vim @@ -0,0 +1,12 @@ +Plug 'Valloric/YouCompleteMe', {'do': 'python3 ./install.py --clangd-completer'} + +let g:ycm_server_log_level = 'info' +let g:ycm_add_preview_to_completeopt = 0 +let g:ycm_show_diagnostics_ui = 0 +let g:ycm_collect_identifiers_from_comments_and_strings = 1 +let g:ycm_complete_in_strings = 1 + +let g:ycm_filetype_whilelist = { + \ "c": 1, "cpp": 1, "sh": 1, "zsh": 1, + \ "python": 1, + \ } |