When I launch vim
I do not have issues, but when I launch MacVim
using mvim
from the command line I get the following error:
$ mvim .vimrc
$ Error detected while processing /usr/local/Cellar/macvim/7.4-102/MacVim.app/Contents/Resources/vim/runtime/colors/macvim.vim:
line 54:
E254: Cannot allocate color MacSelectedTextBackgroundColor
line 109:
E254: Cannot allocate color MacTextColor
E254: Cannot allocate color MacTextBackgroundColor
I installed MacVim using homebrew
. Homebrew 0.9.9
My OS is El Capitan 10.11.4
I am setting up my new laptop so all I have installed so far: xcode
, command line tools
, and macvim
.
This question is similar, but none of the answers work for me. I tried iTerm2
. I originally did not have a .vimrc
and launching it from the dock rather than the command line still throws the error.
It's a bug that it has been already fixed. So, you have to wait for the next release.
You can see the issue and the pull request on GitHub.