[nvim] update shell colorscheme detection mechanism

This commit is contained in:
Dmytro Meleshko 2019-09-19 20:10:59 +03:00
parent 59fc6fee46
commit c9858363e6

View file

@ -5,8 +5,8 @@
execute 'source' fnameescape(g:nvim_dotfiles_dir.'/../colorschemes/out/nvim.vim')
if empty($BASE16_SHELL) || !filereadable($BASE16_SHELL.'/scripts/base16-'.g:dotfiles_colorscheme_base16_name.'.sh') || &termguicolors
set termguicolors
if !&termguicolors && exists('$_COLORSCHEME_TERMINAL')
set notermguicolors
endif
" }}}