迷茫2017-05-16 16:37:20
vimrc에서 Extra conf를 구성해 보세요.
vundle을 사용하는 경우: let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
如果你用Vim-Plug,那就是:let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
🎜phpcn_u15822017-05-16 16:37:20
YCM-Generator를 사용하여 .ycm_extra_conf.py 파일을 생성하고 vim을 여는 디렉터리에 넣거나 vimrc에서 기본 경로를 설정하세요