Open jeromecovington opened 10 years ago
Shame here.
I fixed. This is what I did: cp ~/.vim/bundle/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/
shame here:) i'm using vundle to manage addons and the vim version is 7.4.
the same happened to me
@AnderRasoVazquez it helped me a lot thanks :)
Glad to hear that! =)
@AnderRasoVazquez it's work and thanks. i'm using vundle and vim version is 7.4.
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 that was it! moved it after vundle#end() and it worked for me
@wimplash thanks!
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.
@AnderRasoVazquez It woks for me too thanks! :+1:
@wimplash Works for me too. Thanks!
Same problem, thanks for the fix!
Instead you can add it to rtp before loading the colorscheme.
set rtp+=~/.vim/bundle/vim-colors-solarized
@wimplash Thanks!
@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
@dcapwell As @wimplash pointed out, move colorscheme
after execute pathogen#infect()
.
@weakish Thanks! it works☺
Thanks, I'm using a different color scheme but also vundle, and this worked equally well for it.
@wimplash Thanks!
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
Thank you, @wimplash!
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
The simple solution that worked for me was to set colors_name=<Name of your theme>
.
@AnderRasoVazquez Thank you!!!
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.
How can I avoid the error?