Hello!
> Since yesterday i get the following error message when starting vim:
> Error detected while processing /home/michael/.vimrc:
> line 12:
> E484: Can't open file /usr/local/share/vim/syntax/syntax.vim
> line 54:
> E484: Can't open file /usr/local/share/vim/syntax/syntax.vim
> Press ENTER or type command to continue
>
> I try to change the path in line 12 and then the first error message is
> removed but the second one exists. And export VIMRUNTIME works but i do not
> want to write it everytime when I start a new console
>
> Here my .vimrc (parts)
>
> --snip--
> if has("syntax")
> " if color == "true"
> " This will switch colors ON
> so ${VIMRUNTIME}/syntax/syntax.vim <- line 12
> "so /usr/share/vim/vim70/syntax/syntax.vim
> else
> " this switches colors OFF
> syntax on
> set t_Co=0
> " endif
> endif
> [...]
> if &t_Co > 2 || has("gui_running")
> syntax on <- line 54
> set hlsearch
> endif
> --snap--
>
> How can i change that? Adding vimruntime in debian.vim also do not work
Sorry! More infos: Using SID with vim 7.0-17+7
CU
Michael
--
,''`. Michael Ott, e-mail: michael at zolnott dot de
: :' : Debian SID on Thinkpad T43:
`. `' http://www.zolnott.de/laptop/ibm-t43-uc34nge.html
`-
Attachment:
pgpKupNrRYxgq.pgp
Description: PGP signature