jeanguyomarch/eovim

Variable `eovim_running` not defined when loading vimrc or plugins

Closed this issue · 0 comments

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