Skip to content



E254: Cannot allocate color Orange

After running brew upgrade vim to 8.2, I was getting this error.

Following the comments in this StackOverflow post worked for me

I had to download the runtime folder from the official vim repo in GitHub and link my $VIMRUNTIME

cd ~
git clone
mv ~/vim/runtime ~/vim-runtime
rm -rf ~/vim
echo "export VIMRUNTIME=~/vim-runtime" >> ~/.zshrc

Last update: 2022-11-04