From 73a8cd21eca50054a4c5949e4f00deea76aff521 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 27 Aug 2015 01:43:39 +0100 Subject: [PATCH] vim: ycm completes in strings and comments --- vim/vimrc | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.48.1