I emerged vim62a I had vim61 or what ever was current a day before. root@escargot vim62a # vi /etc/vim/vimrc (or any other file) Error detected while processing /etc/vim/vimrc: line 54: E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim Hit ENTER or type command to continue Line 54 contains: syntax on I did a :m/61/ in the vimrc and did not find any instances of 61... so the bug is elsewhere. For now I think I'm going to copy the syntax.vim to that directory to see if that is a temporary fix. Reproducible: Always Steps to Reproduce: 1.have vim 61 2.emerge vim-core and vim (6.2_pre1) Witch is BTW a naming error it claims to be an alpha.. REM: pre > beta > alpha 3.Look ma! No syntax highlighting!
Ok, I tried copying the syntax.vim file to /usr/share/vim/vim61/syntax/ and that got rid of the error message... but I still have no syntax highlighting I also just copied all of the syntax directory... and that didn't make it work.
export VIMRUNTIME="/usr/share/vim/vim62a" fixes the problem, so maybe need to uncomment that few line in vim.eclass, which exports this.
env-update fixes this...
cool... I rebooted and I didn't have sytax higlighting in konsole...but had it in gnome (after copying the files that is) and this time, I deleted the stuff that I had copied and it worked. Should the ebuild for vim contain env-update? (if it should, then I guess reopen the bug... or just fix it?)
Please see http://marc.theaimsgroup.com/?l=gentoo-dev&m=105124571809387&w=2 The problem is that previously the vim.eclass would install /etc/env.d/40vim. This file is not necessary, and as you've discovered, causes discomfort when the vim version is upgraded. Unfortunately, that discomfort can't be completely avoided for this upgraded, but should be avoidable in the future.