Wednesday, October 26, 2011

Re: Please fix: make Windows Vim use same files as unix. No reason not to and it's confusing in mixed envirionments.

On 2011-10-26, Marko Mahnič wrote:
> On Oct 26, 11:05 am, Marko Mahnič <marko.mah...@gmail.com> wrote:
> >
> > The runtimepath is modified in myfiles/vimrc like this:
>
> The runtimepath is modified in myvimfiles/vimrc like this:
>
> >    let s:thisfile = resolve(expand('<sfile>'))
> >    let $MYVIMDIR = fnamemodify(s:thisfile, ':p:h')
> >    let s:paths = split(&rtp, ',')
> >    let i = index(s:paths, $MYVIMDIR)
> >    if i < 0
> >       call insert(s:paths, $MYVIMDIR, 0)

Shouldn't there be a

call add(s:paths, $MYVIMDIR . "/after")

here?

> >       let &rtp = join(s:paths, ',')
> >    endif

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: