diff options
author | gxlin <[email protected]> | 2021-03-16 10:42:48 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-03-16 10:42:48 +0800 |
commit | 06929ba11c0ef83da2462f60ee8c6dc07a2aa9a4 (patch) | |
tree | 7eede7fef35e892ec41b0db529819ce33871b016 /.vim/plugins/youcompleteme.vim | |
parent | 4d3b20b9445c1bcdd015e2babc03da91651898ed (diff) | |
download | dotfiles-06929ba11c0ef83da2462f60ee8c6dc07a2aa9a4.tar.gz dotfiles-06929ba11c0ef83da2462f60ee8c6dc07a2aa9a4.tar.bz2 dotfiles-06929ba11c0ef83da2462f60ee8c6dc07a2aa9a4.zip |
Split .vimrc to multiple vimscript files
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, + \ } |