[Bug 572627] Re: ftdetect scripts not loaded from directories added to runtimepath

Garrison Hoffman garrison at codefix.net
Mon Jul 9 14:26:17 UTC 2012


Unsurprisingly, this is still an issue in Ubuntu 12.04--is there a
suggested workaround?

-- 
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