jeanguyomarch / eovim

The Enlightened Neovim
https://github.com/jeanguyomarch/eovim/wiki
MIT License
193 stars 3 forks source link

Variable `eovim_running` not defined when loading vimrc or plugins #24

Closed francoisGuerret closed 6 years ago

francoisGuerret commented 6 years ago

use case: add the following code to the loaded vimrc file

if exists('eovim_running')
  colorscheme morning
else
  colorscheme desert
endif

however, it works if the vimrc is manually loaded when eovim is launched (performing :source vimrc).

thanks in advance