Update vim TERM checks
This commit is contained in:
parent
1059eb7259
commit
a8c012881a
@ -1,9 +1,7 @@
|
|||||||
if !platform#is_windows()
|
if !platform#is_windows()
|
||||||
if $COLORTERM == 'gnome-terminal'
|
|
||||||
if $TERM != 'xterm-256color' &&
|
if $TERM != 'xterm-256color' &&
|
||||||
\ $TERM != 'screen-256color' &&
|
\ $TERM != 'screen-256color' &&
|
||||||
\ $TERM != 'xterm-256color-italic' &&
|
\ $TERM != 'tmux-256color'
|
||||||
\ $TERM != 'screen-256color-italic'
|
|
||||||
echo "This terminal does not report 256 color support"
|
echo "This terminal does not report 256 color support"
|
||||||
echo "For gnome-terminal:"
|
echo "For gnome-terminal:"
|
||||||
echo "Open: Profile Preferences"
|
echo "Open: Profile Preferences"
|
||||||
@ -13,7 +11,6 @@ if !platform#is_windows()
|
|||||||
echo "env TERM=xterm-256color /usr/bin/zsh"
|
echo "env TERM=xterm-256color /usr/bin/zsh"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
if !platform#is_windows() || has("gui_running")
|
if !platform#is_windows() || has("gui_running")
|
||||||
colorscheme fresh
|
colorscheme fresh
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user