mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] update shell colorscheme detection mechanism
This commit is contained in:
parent
59fc6fee46
commit
c9858363e6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
" }}}
|
||||
|
|
Loading…
Reference in a new issue