altercation / vim-colors-solarized

precision colorscheme for the vim text editor
http://ethanschoonover.com/solarized
6.59k stars 1.76k forks source link

Cannot find color scheme solarized #104

Open jeromecovington opened 10 years ago

jeromecovington commented 10 years ago

Here is my .vim/bundle dir: vim-colors-solarized

Here is my .vimrc syntax enable set background=dark colorscheme solarized

But when I start vim to edit a JavaScript file, I get this error. Error detected while processing /Users/jcovington/.vimrc: line 3: E185: Cannot find color scheme solarized Press ENTER or type command to continue

Oddly, when I begin editing the file, it seems that the Solarized colors are applied.

image

How can I avoid the error?

AnderRasoVazquez commented 10 years ago

Shame here.

AnderRasoVazquez commented 10 years ago

I fixed. This is what I did: cp ~/.vim/bundle/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/

ghost commented 10 years ago

shame here:) i'm using vundle to manage addons and the vim version is 7.4.

vasco3 commented 10 years ago

the same happened to me

vjdavid commented 10 years ago

@AnderRasoVazquez it helped me a lot thanks :)

AnderRasoVazquez commented 10 years ago

Glad to hear that! =)

l2x commented 9 years ago

@AnderRasoVazquez it's work and thanks. i'm using vundle and vim version is 7.4.

wimplash commented 9 years ago

When I originally had my .vimrc set up, I was using the older version of vundle and I had colorscheme solarized on the line following Bundle 'altercation/vim-colors-solarized'. With the new version of vundle (Vundle.vim), it appears as though colorscheme solarized must come somewhere after call vundle#end().

lc1200 commented 9 years ago

@wimplash that was it! moved it after vundle#end() and it worked for me

ghost commented 9 years ago

@wimplash thanks!

dcapwell commented 9 years ago

For Pathogen, can this be fixed without doing a copy after cloning? For now im symlinking to make sure that I can get all the updates.

Jero786 commented 9 years ago

@AnderRasoVazquez It woks for me too thanks! :+1:

improved-broccoli commented 9 years ago

@wimplash Works for me too. Thanks!

gngdb commented 9 years ago

Same problem, thanks for the fix!

bitozoid commented 9 years ago

Instead you can add it to rtp before loading the colorscheme.

set rtp+=~/.vim/bundle/vim-colors-solarized
keeprock commented 8 years ago

@wimplash Thanks!

sidewinder12s commented 8 years ago

@wimplash Thanks! I had this same issue using neovim and vim-plug but moving the colorscheme to after my vim-plug stanza fixed it. Example for others below:

let $NVIM_TUI_ENABLE_TRUE_COLOR=1
syntax enable
set background=dark " or dark

call plug#begin('~/.vim/plugged')
Plug 'https://github.com/altercation/vim-colors-solarized.git'
call plug#end()

colorscheme solarized
weakish commented 8 years ago

@dcapwell As @wimplash pointed out, move colorscheme after execute pathogen#infect().

blue7wings commented 8 years ago

@weakish Thanks! it works☺

lfir commented 7 years ago

Thanks, I'm using a different color scheme but also vundle, and this worked equally well for it.

vysogot commented 7 years ago

@wimplash Thanks!

DavidPesticcio commented 6 years ago

I had the same issue - then I found this :smiley: - https://stackoverflow.com/a/34165694/1506858

Your vimrc is supposed to be here: $HOME/.vimrc or there, if you use Vim 7.4 or newer: $HOME/.vim/vimrc

daveyproctor commented 6 years ago

Thank you, @wimplash!

0123cf commented 6 years ago

With the above scheme, and then start running it the , I get this error. .vim file is missing, and then I fixed. This is what I did:

cp ~/.vim/bundle/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/solarized.vim
arvindamirtaa commented 5 years ago

The simple solution that worked for me was to set colors_name=<Name of your theme>.

Clcanny commented 5 years ago

@AnderRasoVazquez Thank you!!!