On Tue, May 5, 2009 at 12:50 PM, Michael Hordijk wrote:
>
> Vim doesn't seem to handle a comma in $HOME at all.  In this case, $HOME
> = /u/hordijk,spin  strace shows that Vim seems to be doing some odd
> parsing around the comma:
>
> stat64("/u/hordijk/syntax/synload.vim", 0xbfa03e9c) = -1 ENOENT (No such
> file or directory)
> stat64("spin/.vim/syntax/synload.vim", 0xbfa03e9c) = -1 ENOENT (No such
> file or directory)
>
> Anybody else experience a similar issue, or I am the only one with a
> comma in their homedir? :)

Vim uses a comma separated list of directories to search for runtime
files.  Your home directory is added to that list, but appears as two
elements instead of one, because of the comma in it.  I doubt there's
any way to get around this.  You *might* be able to hack things to
make it work, but it would be ugly.  In general, I would think that
comma is one of those strange characters that you shouldn't embed in
$HOME, like : and ;

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui