[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vim filetype off
From: |
Patrick McCarty |
Subject: |
Re: vim filetype off |
Date: |
Tue, 27 Jul 2010 11:15:36 -0700 |
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.
I need those lines to work around behavior that (I think) changed in
very recent Vim versions.
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.
For background, see this thread:
http://groups.google.com/group/vim_use/browse_thread/thread/c896684d209503e
Thanks,
Patrick
- vim filetype off, Graham Percival, 2010/07/27
- Re: vim filetype off,
Patrick McCarty <=