Vim can't find my colorscheme on startup
After migrating from vundle to vim-plug, vim can't find my colorscheme on startup. But after starting vim I can load it using :colorscheme command. Every other plugin loads fine. Any ideas?
I change colorscheme setting right after loading it with vim-plug. I use vim 7.4.273 with +ruby
Found the answer in closed issues, sorry. Apparently vim-plug works differently from vundle. With vundle, I used to change plugin settings right after their 'Plugin ...' line, in vim-plug plugins become available only after plug#end() call.
Yes, &runtimepath is updated when you call plug#end(). I assume the current API of Vundle, vundle#begin() and vundle#end() pair instead of vundle#rc(), works the same way.
if you want to set son variable to configure a plugin you can do it just fine (I do it in my vimrc), you can't call functions defined by the plugin or as in your case the colorscheme. And btw if I'm not wrong Vundle.vim now use the same scheme as vim-plug with a call vundle#begin() and call vundle#end()function calls and before the vundle#end the runtimepath is not modified so it has the same problem.
Yes, neobundle has same problem.