【发布时间】:2015-05-11 14:54:32
【问题描述】:
尝试使用 these instructions 自定义 JavaScript 开发环境。我可以用vim +PluginInstall +qall 构建插件,我正在使用Vundle,但我从vim 得到Not an editor command: SyntasticInfo。 :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
【问题讨论】:
-
你的vimrc包含?
-
请描述您实际做了什么,而不是向我们指出您应该遵循的一些说明。没有人有时间阅读该页面并从中推断出您搞砸的地方。
-
好的,我已经添加了
vimrc
标签: javascript vim vim-plugin vundle