E185:找不到日光浴的配色方案 [英] E185: Cannot find color scheme solarized

查看:324
本文介绍了E185:找不到日光浴的配色方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过病原体安装了Solarized,并且在我的Mac上的终端和MacVim中都可以正常工作.今天,我尝试在Linode上设置Ubuntu盒子.我只是克隆了我的dotfiles 并链接到我的.vim.vimrc文件夹(这是相同的设置就像我在本地计算机上使用的一样.

I have Solarized installed via pathogen and it's been working fine in both terminal and MacVim on my Mac. Today, I tried setting up an Ubuntu box on Linode. I just cloned my dotfiles and symlinked to my .vim and .vimrc folders (this is the same setup as I use on my local machine.

每当我尝试在Ubuntu机器上运行vim时,我都会报错

Whenever I try to run vim on the Ubuntu box I get an error

Error detected while processing /root/.vimrc:
line   43:
E185: Cannot find color scheme solarized
Press ENTER or type command to continue

我可以说我的.vimrc正在加载,因为其他所有设置(例如行号)都可以正常工作.

I can tell my .vimrc is being loaded because all other setting like line numbers are working.

.vimrc中的相关行如下:

" settings needed for solarized colorscheme
syntax enable
set background=dark
let g:solarized_termcolors=256
colorscheme solarized

这是我的.vim/bundle目录的设置(以防您怀疑我实际上没有在那里溶解!):

This is the setup of my .vim/bundle directory (incase you suspect I don't actually have solzrized in there!):

~  ls .vim/bundle 
ack                  coffeescript         liquid               snipmate             vim-colors-solarized vim-jst              zencoding
closetag             html5.vim            nerdtree             surround             vim-javascript       vim-rails

另一件事,在Ubuntu盒子上的vim中运行echo &t_Co会使我256.

One other thing, running echo &t_Co in vim on the ubunto box gets me 256.

有什么想法吗?

推荐答案

我知道这很明显,但是您检查了~/.vim/bundle/vim-colors-solarized的内容吗?万一您遇到的问题与 Vim:病原体未加载

I know that it is kind of obvious, but did you check the contents of ~/.vim/bundle/vim-colors-solarized? Just in case you are running in the same issue described in Vim: Pathogen not loading

这篇关于E185:找不到日光浴的配色方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆