On Sun, Oct 26, 2008 at 09:21:48AM +1100, Alex Samad wrote: > On Sat, Oct 25, 2008 at 11:51:38PM +0300, Andrei Popescu wrote: > > On Sun,26.Oct.08, 07:34:34, Alex Samad wrote: > > > > > my problem is after a recent upgrade of vim I had to add in > > > source /usr/share/vim/vim71/ftplugin/mail.vim > > > > I didn't have to add anything, vim automatically recognizes the > > filetype=mail. > > I invoke vim from mutt with -u .mutt/vimrc, i believe this over rides the > normal startup process, which is why i include the files and a simple > set ft=mail used to work, now I have to source the file
found this is the vim readme Filetype plugins are no longer enabled by default because certain actions (like preventing the loading of the default menus) *must* occur before filetype detection is enabled. By enabling filetype plugins (and detection) in debian.vim, we are preventing the user from being able to make changes to Vim's behavior. Filetype plugins can be re-enabled via "filetype plugin on". looks like it might be problem > > > > > Regards, > > Andrei > > -- > > If you can't explain it simply, you don't understand it well enough. > > (Albert Einstein) > > > > -- > "I understand small business growth. I was one." > > - George W. Bush > 02/19/2000 > New York Daily News -- The truth is what is; what should be is a dirty lie. -- Lenny Bruce
signature.asc
Description: Digital signature