From d4e1469e4b0c5aaf5c23be555e8b224f9254d781 Mon Sep 17 00:00:00 2001 From: gxlin Date: Thu, 15 Jul 2021 21:28:06 +0800 Subject: A usable boostrap config --- .vim/plugin/youcompleteme.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .vim/plugin/youcompleteme.vim (limited to '.vim/plugin/youcompleteme.vim') diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim new file mode 100644 index 0000000..4c9f570 --- /dev/null +++ b/.vim/plugin/youcompleteme.vim @@ -0,0 +1,13 @@ +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, "go": 1, "gdscript": 1 + \ } +let g:ycm_filetype_blacklist = { + \ 'ledger': 1 + \ } -- cgit v1.2.3