[Bug 572627] Re: ftdetect scripts not loaded from directories added to runtimepath
James McCoy
jamessan at debian.org
Mon Jul 30 03:53:48 UTC 2012
This isn't something that can be fixed by a patch. 7.3.430 is
addressing a different problem. This one is completely an issue with
the inclusion of "syntax on" in /etc/vim/vimrc. It can be worked
around, but that is something many users will not know how to do (which
is why the pathogen plugin has since started performing the workaround
itself).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/572627
Title:
ftdetect scripts not loaded from directories added to runtimepath
Status in “vim” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: vim-common
Introduced in version 2:7.2.330-1ubuntu3 in 10.04 Lucid Lynx.
The file /etc/vim/vimrc from the package vim-common has un-commented
the line "syntax on", turning on vim's syntax highlighting. This
causes filetype detection to be enabled, which loads all ftdetect
scripts from the runtimepath. This change is harmful to users of the
pathogen.vim script, which edits the runtimepath. All the ftdetect
scripts that would have been found by doing "syntax on" or "filetype
on" after using pathogen are not found by the call to "syntax on" that
happends before using pathogen. This causes filetypes introduced in
the bundles installed using pathogen to not get detected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/572627/+subscriptions
More information about the foundations-bugs
mailing list