Re-arrange terminal detection and color settings
This commit is contained in:
parent
7809d62c35
commit
601431e733
1 changed files with 3 additions and 3 deletions
6
vimrc
6
vimrc
|
@ -95,12 +95,12 @@ if has("eval")
|
|||
" Disable vim-go warning on CentOS
|
||||
let g:go_version_warning = 0
|
||||
" Set colour levels for different terminals.
|
||||
if &term == "rxvt-unicode"
|
||||
if &term == "xterm-256color"
|
||||
set t_Co=256
|
||||
elseif &term == "xterm"
|
||||
set t_Co=256
|
||||
elseif &term == "linux"
|
||||
set t_Co=16
|
||||
elseif &term == "rxvt-unicode"
|
||||
set t_Co=256
|
||||
else
|
||||
set t_Co=16
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue