按照网上的教程,配置了vim的YouCompleteMe插件,但是安装之后,用来开发python跟本不会提示,,
后来看到说需要配置vimrc和yum_extra_conf.py这两个文件,请教下需要怎么配置?
我的当前的.vimrc文件如下:
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
Bundle 'gmarik/vundle'
"my Bundle here:
"
" original repos on github
Bundle 'kien/ctrlp.vim'
Bundle 'sukima/xmledit'
Bundle 'sjl/gundo.vim'
Bundle 'jiangmiao/auto-pairs'
Bundle 'klen/python-mode'
Bundle 'Valloric/ListToggle'
Bundle 'SirVer/ultisnips'
Bundle 'Valloric/YouCompleteMe'
Bundle 'scrooloose/syntastic'
Bundle 't9md/vim-quickhl'
" Bundle 'Lokaltog/vim-powerline'
Bundle 'scrooloose/nerdcommenter'
"..................................
" vim-scripts repos
Bundle 'YankRing.vim'
Bundle 'vcscommand.vim'
Bundle 'ShowPairs'
Bundle 'SudoEdit.vim'
Bundle 'EasyGrep'
Bundle 'VOoM'
Bundle 'VimIM'
"..................................
" non github repos
" Bundle 'git://git.wincent.com/command-t.git'
"......................................
filetype plugin indent on
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
题主也没说os,作为一般性的建议把当初自己的安装日志ctrl+c & ctrl+v一遍。如果能提供vim的相关运行信息,例如
:version
,:YcmDebugInfo
,回复也就能更有针对性。windows pre-build installation
python27.dll
PS: yum_extra_conf.py的配置只是针对C/C++的,对python来说不需要。
试试显式指明路径?
可以把 .ycm_extra_conf.py 放项目目录里
需要安装clang