1
javascriopt 및 기타 플러그인을로드하는 중입니다. 사용하고 있습니다 Vundle
여기 입니다. 내 ~/.vimrc
입니다. 집에서vim 플러그인을로드하지 않음 : mac
set nocompatible
filetype on
" set the runtime path to include Vundle and initialize
" set t_Co=256
syntax on
set nu
set background=light
colorscheme solarized
set laststatus=2
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#rc()
" Declare all plugins here
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" Git plugin not hosted on GitHub
" Plugin 'git://git.wincent.com/command-t.git’
Plugin 'jelera/vim-javascript-syntax'
Plugin 'pangloss/vim-javascript'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'Raimondi/delimitMate'
" All of your Plugin must be added before the following line
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :Bundle - lists configured plugins
" :Bundle - installs plugins; append `!` to update or just :Bundle
" :Bundle foo - searches for foo; append `!` to refresh local cache
" :Bundle - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
디렉토리 구조를 (내가 Mac에서 gvim을 사용하고 있습니다) ~/.vim
내가 this link이에서 제안 플러그인을 사용하고
은 JS 파일입니다 스크린 샷.
내가 부족 해요 위치에 대한 어떤 생각을 공유하시기 바랍니다.
두 번째 줄에서'filetype on'을'filetype off'로 변경해 볼 수 있습니까? –
이 경우에도 작동하지 않습니다. – PJ1405
'call vundle # end()'다음에 filetype과 구문을 다시 설정합니다. 또한 나는 정확히 작동하지 않는 것을 이해할 수 없었다. 또한 참조 용으로 내'.vimrc'을 볼 수 있습니다 : https://github.com/Roshanjossey/dot-files/blob/master/.vimrc –