New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find color scheme solarized #104

Open
jeromecovington opened this Issue Jun 19, 2014 · 24 comments

Comments

Projects
None yet
@jeromecovington

jeromecovington commented Jun 19, 2014

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

This comment has been minimized.

Show comment
Hide comment
@AnderRasoVazquez

AnderRasoVazquez commented Jun 27, 2014

Shame here.

@AnderRasoVazquez

This comment has been minimized.

Show comment
Hide comment
@AnderRasoVazquez

AnderRasoVazquez Jun 27, 2014

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

AnderRasoVazquez commented Jun 27, 2014

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

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jul 4, 2014

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

ghost commented Jul 4, 2014

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

@vasco3

This comment has been minimized.

Show comment
Hide comment
@vasco3

vasco3 Jul 25, 2014

the same happened to me

vasco3 commented Jul 25, 2014

the same happened to me

@vjdavid

This comment has been minimized.

Show comment
Hide comment
@vjdavid

vjdavid Sep 1, 2014

@AnderRasoVazquez it helped me a lot thanks :)

vjdavid commented Sep 1, 2014

@AnderRasoVazquez it helped me a lot thanks :)

@AnderRasoVazquez

This comment has been minimized.

Show comment
Hide comment
@AnderRasoVazquez

AnderRasoVazquez Sep 1, 2014

Glad to hear that! =)

AnderRasoVazquez commented Sep 1, 2014

Glad to hear that! =)

@l2x

This comment has been minimized.

Show comment
Hide comment
@l2x

l2x Jan 20, 2015

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

l2x commented Jan 20, 2015

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

@wimplash

This comment has been minimized.

Show comment
Hide comment
@wimplash

wimplash Jan 22, 2015

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().

wimplash commented Jan 22, 2015

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

This comment has been minimized.

Show comment
Hide comment
@lc1200

lc1200 Jan 24, 2015

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

lc1200 commented Jan 24, 2015

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

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost commented Jan 25, 2015

@wimplash thanks!

@dcapwell

This comment has been minimized.

Show comment
Hide comment
@dcapwell

dcapwell Mar 11, 2015

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.

dcapwell commented Mar 11, 2015

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

This comment has been minimized.

Show comment
Hide comment
@Jero786

Jero786 May 12, 2015

@AnderRasoVazquez It woks for me too thanks! 👍

Jero786 commented May 12, 2015

@AnderRasoVazquez It woks for me too thanks! 👍

@jbenoit2011

This comment has been minimized.

Show comment
Hide comment
@jbenoit2011

jbenoit2011 May 18, 2015

@wimplash Works for me too. Thanks!

jbenoit2011 commented May 18, 2015

@wimplash Works for me too. Thanks!

@gngdb

This comment has been minimized.

Show comment
Hide comment
@gngdb

gngdb May 20, 2015

Same problem, thanks for the fix!

gngdb commented May 20, 2015

Same problem, thanks for the fix!

@bitozoid

This comment has been minimized.

Show comment
Hide comment
@bitozoid

bitozoid Jun 30, 2015

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

set rtp+=~/.vim/bundle/vim-colors-solarized

bitozoid commented Jun 30, 2015

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

set rtp+=~/.vim/bundle/vim-colors-solarized
@keeprock

This comment has been minimized.

Show comment
Hide comment
@keeprock

keeprock commented Apr 13, 2016

@wimplash Thanks!

@sidewinder12s

This comment has been minimized.

Show comment
Hide comment
@sidewinder12s

sidewinder12s Apr 17, 2016

@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

sidewinder12s commented Apr 17, 2016

@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

This comment has been minimized.

Show comment
Hide comment
@weakish

weakish Apr 27, 2016

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

weakish commented Apr 27, 2016

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

@blue7wings

This comment has been minimized.

Show comment
Hide comment
@blue7wings

blue7wings May 16, 2016

@weakish Thanks! it works☺

blue7wings commented May 16, 2016

@weakish Thanks! it works☺

@Asta1986

This comment has been minimized.

Show comment
Hide comment
@Asta1986

Asta1986 Feb 3, 2017

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

Asta1986 commented Feb 3, 2017

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

@vysogot

This comment has been minimized.

Show comment
Hide comment
@vysogot

vysogot commented Sep 19, 2017

@wimplash Thanks!

@DavidPesticcio

This comment has been minimized.

Show comment
Hide comment
@DavidPesticcio

DavidPesticcio Jan 25, 2018

I had the same issue - then I found this 😃 - 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

DavidPesticcio commented Jan 25, 2018

I had the same issue - then I found this 😃 - 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

This comment has been minimized.

Show comment
Hide comment
@daveyproctor

daveyproctor commented Feb 17, 2018

Thank you, @wimplash!

@0123cf

This comment has been minimized.

Show comment
Hide comment
@0123cf

0123cf Apr 7, 2018

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

0123cf commented Apr 7, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment