[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

$VIMRUNTIME



Hi, everytime I install vim I get this problem... I have a work-around, but I'm
pretty sure it's The Wrong Way to do it.

Anyway, opening a file in vim which has some syntax will cause vim to say like -
    Error detected while processing Syntax Auto commands for "conf":
    Can't open file /usr/share/vim/syntax/conf.vim
    Press RETURN or enter command to continue
with the second line changing to whatever type of file I'm editing (for
instance, it just said it couldn't find the mail syntax file).  The ":help"
doesn't work, either.

I'm guessing it's looking there because of the $VIM or $VIMRUNTIME parameters,
both of which are /usr/share/vim for me.

But Debian is installing vim's "syntax" and "doc" directories in
/usr/share/vim/vim58, why vim can't find what it's looking for.

My current work-around is to sym-link the syntax and doc directories so it
works.  I'm guessing changing the $VIMRUNTIME variable would work, too.  But
neither of those solutions seem to me to be best way to do it.

Do I just have a strange setup?  Is the vim package meant to be like this?
Thanks in advance,

    // joey tsai



-- 
 joey tsai |  CONSOLATION, n.  The knowledge that a better man is more
 cs1322 ta |  unfortunate than yourself.
           |                       -- Ambrose Bierce, "The Devil's Dictionary"



Reply to: