確保您在vimrc中初始化Vundle和您的軟件包之前您的其餘配置。因此,例如,您應該有:
" =======================================================================
" Vundle setup and initialization. This needs to be done before any
" configuration so all plugins are loaded.
set nocompatible " required for Vundle
filetype off " required for Vundle, enabled later.
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
" Powerline
Bundle 'Lokaltog/vim-powerline'
...
...其中Powerline僅僅是一個示例包。然後讓你的配置休息...
" =======================================================================
" Actual vim configuration goes here.
" =======================================================================
syntax on "lots of syntax highlighting
set nocompatible "be iMproved
colorscheme mustang
filetype plugin indent on
...
希望幫助...
的哪個工作插件安裝新的後綴文件類型映射?我仍然不相信'filetype on'調用是按照Bundle定義的正確順序發生的。 (即在「Bundle」調用之後) – kotarak