From: Samir Benmendil Date: Thu, 27 Aug 2015 00:43:39 +0000 (+0100) Subject: vim: ycm completes in strings and comments X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/73a8cd21eca50054a4c5949e4f00deea76aff521 vim: ycm completes in strings and comments --- diff --git a/vim/vimrc b/vim/vimrc index 964199d..56b2c7d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -652,6 +652,8 @@ let g:ycm_extra_conf_globlist = ['~/src/*','/mnt/data/src/*'] let g:ycm_global_ycm_extra_conf = expand('$XDG_CONFIG_HOME/vim/ycm_extra_conf.py') let g:ycm_extra_conf_vim_data = ['getcwd()'] let g:ycm_add_preview_to_completeopt = 1 +let g:ycm_complete_in_comments = 1 +let g:ycm_complete_in_strings = 1 let g:ycm_autoclose_preview_window_after_insertion = 0 "let g:ycm_extra_conf_vim_data = ['%:p'] nnoremap jd :YcmCompleter GoTo