1

尝试使用这些说明自定义 JavaScript 开发环境。我可以用 构建插件vim +PluginInstall +qall,我正在使用Vundle,但我Not an editor command: SyntasticInfo从 vim 得到一个。我有同样的问题:Helptags

我怎样才能解决这个问题?

更新 - 一些错误日志

[2015-05-11 16:08:50] Helptags:                                                                       |~                                                                                                     
[2015-05-11 16:08:50] :helptags /my/path/to/.vim/bundle/Vundle.vim/doc                               |~                                                                                                     
[2015-05-11 16:08:50] > Error running :helptags /my/path/to/.vim/bundle/Vundle.vim/doc               |~                                                                                                     
[2015-05-11 16:08:50] :helptags /my/path/to/.vim/bundle/vim-indent-guides/doc                        |~                                                                                                     
[2015-05-11 16:08:50] > Error running :helptags /my/path/to/.vim/bundle/vim-indent-guides/doc        |~                                                                                                     
[2015-05-11 16:08:50] :helptags /my/path/to/.vim/bundle/delimitMate/doc                              |~                                                                                                     
[2015-05-11 16:08:50] > Error running :helptags /my/path/to/.vim/bundle/delimitMate/doc              |~                                                                                                     
[2015-05-11 16:08:50] :helptags /my/path/to/.vim/bundle/syntastic/doc                                |~                                                                                                     
[2015-05-11 16:08:50] > Error running :helptags /my/path/to/.vim/bundle/syntastic/doc                |~                                                                                                     
[2015-05-11 16:08:50] :helptags /my/path/to/.vim/bundle/YouCompleteMe/doc                            |~                                                                                                     
[2015-05-11 16:08:50] > Error running :helptags /my/path/to/.vim/bundle/YouCompleteMe/doc            |~                                                                                                     
[2015-05-11 16:08:50] :helptags /my/path/to/.vim/bundle/tern_for_vim/doc                             |~                                                                                                     
[2015-05-11 16:08:50] > Error running :helptags /my/path/to/.vim/bundle/tern_for_vim/doc             |~                                                                                                     
[2015-05-11 16:08:50] Helptags: 6 plugins processed 

更新 - 我的vimrc

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

Plugin 'jelera/vim-javascript-syntax'
Plugin 'eakuefner/goog-pystyle'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'Raimondi/delimitMate'
Plugin 'scrooloose/syntastic'

Plugin 'Valloric/YouCompleteMe'
Plugin 'marijnh/tern_for_vim'


set t_Co=256
set background=dark
syntax on
set textwidth=79  " lines longer than 79 columns will be broken
set shiftwidth=4  " operation >> indents 4 columns; << unindents 4 columns
set tabstop=4     " a hard TAB displays as 4 columns
set expandtab     " insert spaces when hitting TABs
set softtabstop=4 " insert/delete 4 spaces when hitting a TAB/BACKSPACE
set shiftround    " round indent to multiple of 'shiftwidth'
set autoindent
imap <C-c> <CR><Esc>0
4

2 回答 2

0

我遇到了和你一样的错误,但我已经解决了。</p>

请检查目录权限。确保运行 vim 的用户可以修改此文件或目录。

于 2016-04-01T08:21:43.973 回答
0

请检查您的 vim 插件和自动加载目录 - 也许您几年前安装了 syntastic 并忘记了它?

我得到了和你一样的错误,在我删除了 /autoload 和 /plugins 目录中的合成条目之后(所以合成的唯一位置是在 vundles bulde 目录中)它起作用了。

于 2015-12-01T11:38:30.080 回答