Skip to content

Commit

Permalink
add better terminal support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Soares committed Oct 20, 2012
1 parent 2d81208 commit 5418b89
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions colors/solarized.vim
Expand Up @@ -137,7 +137,11 @@
" Terminals that support italics
let s:terms_italic=[
\"rxvt",
\"gnome-terminal"
\"gnome-terminal",
\"rxvt-unicode",
\"rxvt-256color",
\"rxvt-unicode-256color",
\"tmux"
\]
" For reference only, terminals are known to be incomptible.
" Terminals that are in neither list need to be tested.
Expand All @@ -150,7 +154,7 @@ if has("gui_running")
else
let s:terminal_italic=0 " terminals will be guilty until proven compatible
for term in s:terms_italic
if $TERM_PROGRAM =~ term
if $TERM_PROGRAM =~ term || $TERM =~ term
let s:terminal_italic=1
endif
endfor
Expand Down

0 comments on commit 5418b89

Please sign in to comment.