Error detected while processing /usr/share/vim/vim74/syntax/synload.vim
line 19:
E185: Cannot find color scheme 'MyColor'
Those lines of errors keep yelling about cannot find color scheme. But, nothing is wrong. The colorscheme is exists in /usr/share/vim/vim74/colors directory. I've tried to put it in ~/.vim/colors/, but vim keep complaints about those errors.
The colorscheme loaded just fine. Doing :source to my .vimrc file loaded everything just fine. Everything is fine except those lines of errors keep showing up, when starting vim and when sourcing .vimrc file even though everything works. What is this? And how can I fix this?
INFO: I'm using Arch Linux.
/usr/share/vim/vim74/colors/? That location belongs to Vim; you might lose your customizations on upgrade / reinstall of Vim. Is the script name exactlyMyColor.vim(including case)?mycolor.vimandcolorscheme mycolorMyColor. Seems like theg:colors_namevariable inside the script is using inconsistent case. Try renaming either to be consistent, then try again.syntax onin your.vimrcfile?g:colors_nameis set to capitalize. Thanks