mscoutermarsh / dotfiles

my Vim/Tmux config :muscle::zap:
https://mikecoutermarsh.com/boston-vim-learning-vim-in-a-week/
Other
764 stars 183 forks source link

E185: Cannot find color scheme 'solarized' #13

Open Tadek1 opened 6 years ago

Tadek1 commented 6 years ago

After successful installation, every time I start vim, I get this warning/error:

Error detected while processing /home/tad/.vimrc:
line   65:
E185: Cannot find color scheme 'solarized'
Press ENTER or type command to continue

Pressing ENTER and all is fine (nice colours, line numbers, etc). If I only could get rid of the annoying message.

I am running Kubuntu 16.04, (vim 7.4.1689). Google search for similar problems leads me nowhere, or at my level of knowing vim was not very helpful. BTW I love your vim presentation and really want to switch to vim.

mscoutermarsh commented 6 years ago

Hello! 😄

I'm wondering if the vim-colors-solarized plugin isn't loaded for you.

Try running set rtp? (in normal mode, press : and then type set rtp?).

Do you see vim-colors-solarized in that list?

Tadek1 commented 6 years ago

Hi Mike, Thank you for responding to my issue.

Here is the output of set rtp? and you can see below entry /.vim/plugged/vim-colors-solarized/ Is this what you were looking for?

    runtimepath=/.vim,/.vim/plugged/nerdtree/,/.vim/plugged/mru/,/.vim/plugged
    /vim-gitgutter/,/.vim/plugged/supertab/,/.vim/plugged/vim-rhubarb/,/.vim/plug
    ged/vim-repeat/,/.vim/plugged/vim-bundler/,/.vim/plugged/vim-endwise/,/.vim/p
    lugged/vim-surround/,/.vim/plugged/matchit/,/.vim/plugged/vim-textobj-user/,/
    .vim/plugged/vim-textobj-rubyblock/,/.vim/plugged/tComment/,/.vim/plugged/vim-
    ripgrep/,/.vim/plugged/split-expander/,/.vim/plugged/vim-lastplace/,/.vim/plu
    gged/vimux/,/.vim/plugged/vim-tmux-navigator/,/.vim/plugged/vim-eunuch/,/.vim
    /plugged/ctrlp.vim/,/.vim/plugged/vim-ruby/,/.vim/plugged/vim-rails/,/.vim/pl
    ugged/vim-json/,/.vim/plugged/vim-markdown/,/.vim/plugged/vim-coffee-script/,~
    /.vim/plugged/vim-less/,/.vim/plugged/vim-haml/,/.vim/plugged/vim-javascript/,
    /.vim/plugged/vim-graphql/,/.vim/plugged/vim-copy-as-rtf/,/.vim/plugged/ale/,
    /.vim/plugged/vim-better-whitespace/,/.vim/plugged/goyo.vim/,/.vim/plugged/vi
    m-fugitive/,/.vim/plugged/vim-colors-solarized/,/.vim/plugged/NeoSolarized/,/
    .vim/plugged/vim-test/,/.vim/plugged/Colorizer/,/.vim/plugged/webapi-vim/,/.v
    im/plugged/gist-vim/,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/
    vim74,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after

But in ~/.vim/plugin/ directory I only see following entries:

tad@tad-desktop:~$ ls -1 .vim/plugin/
ctrlp.vim
nerdtree.vim
plugins.vim
vim-rails.vim
vim-ripgrep.vim
vim-test.vim

Is your install script supposed to install all plugins which are listed by set rtp?

@Tadek1