On Oct 26, 11:05 am, Marko Mahnič <[email protected]> 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)
>       let &rtp = join(s:paths, ',')
>    endif
>

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

Reply via email to