启动 MacVim 给出 E254 无法分配颜色
Launching MacVim gives E254 cannot allocate color
当我启动 vim
时没有问题,但是当我从命令行使用 mvim
启动 MacVim
时,出现以下错误:
$ 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
我使用 homebrew
安装了 MacVim。自制软件 0.9.9
我的 OS 是 El Capitan 10.11.4
我正在设置我的新笔记本电脑,所以到目前为止我已经安装了所有内容:xcode
、command line tools
和 macvim
。
This question 类似,但 none 的答案对我有用。我试过了iTerm2
。我最初没有 .vimrc
并且从扩展坞而不是命令行启动它仍然会引发错误。
这是一个已经修复的错误。所以,你得等下一个版本了。
您可以在 GitHub 上看到 issue and the pull request。
当我启动 vim
时没有问题,但是当我从命令行使用 mvim
启动 MacVim
时,出现以下错误:
$ 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
我使用 homebrew
安装了 MacVim。自制软件 0.9.9
我的 OS 是 El Capitan 10.11.4
我正在设置我的新笔记本电脑,所以到目前为止我已经安装了所有内容:xcode
、command line tools
和 macvim
。
This question 类似,但 none 的答案对我有用。我试过了iTerm2
。我最初没有 .vimrc
并且从扩展坞而不是命令行启动它仍然会引发错误。
这是一个已经修复的错误。所以,你得等下一个版本了。
您可以在 GitHub 上看到 issue and the pull request。