I installed this project using Vundle, as suggested in the installation instructions. However, I don't get syntax highlighting in .info files, and CTRL-N autocompleting only completes based on e.g. function names in the current file. Also, if I introduce an obvious syntax error into e.g. the filetype.vim that comes with the plugin, Vim doesn't complain. In short, I don't think the plugin is being loaded!

Here's my .vimrc: as you can see, I've got two bundles managed by Vundle; this is a good test of Vundle generally, as command-t works fine, so it should all be OK.

" To get command-t to work - see below
:let mapleader = "-"

" Recommended by Drupal vimrc project
set nocompatible
filetype plugin on
  
" Vundle config
" This line recommended by Vundle but could it be conflicting with the above?
" filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
  
" Vundles
Bundle 'gmarik/vundle'
" My bundles here
Bundle 'git://git.wincent.com/command-t.git'
Bundle 'git://drupalcode.org/project/vimrc.git', {'rtp': 'bundle/vim-plugin-for-drupal/'}

Any ideas?

Comments

jp.stacey’s picture

Title: Managing with Vundle: weird bundle directory structure? » Managing with Vundle: plugin isn't loaded

(Sorry, originally thought this issue was to do with the subdirectory structure; changing the title to something more suitable.)

jp.stacey’s picture

Interestingly, running "set syntax=drini" on a .info file sets the syntax fine. So vim just isn't autoloading e.g. the filetype.vim?

jp.stacey’s picture

Status: Active » Closed (cannot reproduce)

A completely clean reinstall of Vundle (following the new instructions on how to enable it), and then using that to install this project, seems to have fixed this bug, so closing on that basis.