Я загружаю плагины для javascriopt и других. Я использую Vundle
вот мой ~/.vimrc
. (Я использую GVIM на макинтоше) структуру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
Каталога дома ~/.vim
Я использую плагин, предложенные в this link
Это файл JS Скриншот.
Любая идея о том, где я не хватает, пожалуйста, поделитесь.
Во второй строке вы можете попробовать изменить 'filetype on' на' filetype off'? –
В этом случае это тоже не сработает. – PJ1405
после 'call vundle # end()' снова установите тип файла и синтаксис. Также я не мог понять, что именно не работает. Также для справки вы можете взглянуть на мой '.vimrc': https://github.com/Roshanjossey/dot-files/blob/master/.vimrc –