Windows Terminal has support for 256 color so there is not need to restrict where to use `fresh` as the `colorscheme`.
13 lines
426 B
VimL
13 lines
426 B
VimL
if !platform#is_windows() &&
|
|
\ !has("gui_running") &&
|
|
\ $TERM != 'xterm-256color' &&
|
|
\ $TERM != 'xterm-kitty' &&
|
|
\ $TERM != 'screen-256color' &&
|
|
\ $TERM != 'tmux-256color'
|
|
echo "This terminal does not report 256 color support but probaly supports it"
|
|
echo "Setup the shell to do something similar on load"
|
|
echo "env TERM=xterm-256color /usr/bin/zsh"
|
|
endif
|
|
colorscheme fresh
|
|
syntax sync minlines=1000
|