[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vim filetype off
From: |
Graham Percival |
Subject: |
Re: vim filetype off |
Date: |
Tue, 27 Jul 2010 11:48:40 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Jul 27, 2010 at 11:15:36AM -0700, Patrick McCarty wrote:
> On Tue, Jul 27, 2010 at 10:49 AM, Graham Percival
> <address@hidden> wrote:
> > Why on earth do we have a
> > filetype off
> > set runtimepath
> > filetype on
> >
> > in the suggested .vimrc ? Those lines should be unnecessary.
>
> Basically, if I remove the "filetype" lines, the "set runtimepath"
> occurs too late in the filetype detection sequence to have any effect.
> By turning off filetype detection, modifying the runtimepath, and
> re-enabling filetype detection, the new runtimepath will be
> recognized.
Hmm. I'd prefer doing
set runtimepath+=
syntax on
since that's IMO more understandable. According to that thread,
it will have the same effect.
Cheers,
- Graham