View previous topic :: View next topic |
Author |
Message |
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Thu Jul 10, 2014 5:47 pm Post subject: vim configuration |
|
|
I must have had a vim update recently; now when I fire it up, I get:
Code: | Error detected while processing /etc/vim/vimrc:
line 93: (command is actually "syntax on")
E484: Can't open file /usr/share/vim/syntax/syntax.vim
Error detected while processing /home/sdpr/.vimrc:
line 5:
E185: Cannot find color scheme 'darkblue'
Press ENTER or type command to continue |
The first error is understandable - vim stuff is now in /usr/share/vim/{vim74,cream,vimfiles} I assume the upgrade did include a change to a setting somewhere. Any idea where? |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Fri Jul 11, 2014 3:32 pm Post subject: |
|
|
I fixed the 2nd problem with: Code: | cd /usr/share/vim
sudo cp vim73/colors/*.vim vim74/colors/ |
|
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Fri Jul 11, 2014 6:11 pm Post subject: |
|
|
Could it be you both have enabled USE="minimal" for vim and (especially) vim-core? |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Fri Jul 11, 2014 7:16 pm Post subject: |
|
|
No USE=minimal here but I did install a bunch of color schemes on my own which is why I have to copy them over. |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Mon Jul 14, 2014 7:40 am Post subject: |
|
|
BitJam wrote: | No USE=minimal here but I did install a bunch of color schemes on my own which is why I have to copy them over. |
OK, but OP's color scheme is "darkblue", which comes with vim-core. If you have a look at the ebuild, with USE="minimal" all color schemes but "default" get removed, as well as all syntax files (and some other things). So I am quite sure that the OP is running USE="minimal". |
|
Back to top |
|
|
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Fri Jul 25, 2014 11:32 am Post subject: |
|
|
Code: | Calculating dependencies... done!
[ebuild R ] app-editors/vim-core-7.4.273 USE="nls -acl -minimal" 0 kB |
|
|
Back to top |
|
|
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Fri Jul 25, 2014 11:34 am Post subject: |
|
|
Oh - and this only showed up a few weeks ago... |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Fri Jul 25, 2014 11:41 am Post subject: |
|
|
Do you have a manually installed vim around?
Code: | $ which vim
---
$ find /usr/local -name "*vim*" |
|
|
Back to top |
|
|
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Tue Aug 12, 2014 8:29 am Post subject: |
|
|
/usr/bin/vim |
|
Back to top |
|
|
bothie n00b
Joined: 05 Apr 2010 Posts: 5
|
Posted: Sun Mar 27, 2016 9:12 am Post subject: |
|
|
Ok, thread is old but still prominent on Google, so:
For me it was a simple version mismatch between app-editors/vim and app-editors/vim:
# ls -ld /var/db/pkg/app-editors/vim-*
drwxr-xr-x 2 root root 4096 27. Mär 11:04 /var/db/pkg/app-editors/vim-7.3.762
drwxr-xr-x 2 root root 4096 27. Mär 06:07 /var/db/pkg/app-editors/vim-core-7.4.769
And
# emerge -1av app-editors/vim
Actually fixed it.
Regards, Bodo |
|
Back to top |
|
|
|