Tuesday, October 5, 2010

Re: snipMate doesn't work with pathogen

problems. I don't know exactly what your problem might be but I would
make sure that you place your pathogen command pathogen#runtime_ap...
in your .vimrc *before* you do:

filetype on
filetype plugin indent on


Expanding on this, this is taken from the pathogen vim page:

Note that you need to invoke the pathogen functions before invoking "filetype plugin indent on" if you want it to load ftdetect files. On Debian (and probably other distros), the system vimrc does this early on, so you actually need to "filetype off" before "filetype plugin indent on" to force reloading.

The start of my vimrc is thus setup like so:

set nocompatible
autocmd!
filetype off
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
filetype plugin indent on
syntax on
 
(You may not need all of those but the important parts are turning filetype off and then back on after running pathogen)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: