With nvim in terminal I want to set the evergreen
color, with GUI in neovim(e.g nvim-qt
) try to set 'edge` theme:
here is my script but it seems just work in Gvim and vim-terminal not nvim and nvim-qt:
set termguicolors
if has('termguicolors')
try
colorscheme everforest
catch
colorscheme evening
endtry
elseif has('gui_running')
try
colorscheme edge
catch
colorscheme evening
endtry
endif