check terminal type and enable gui colours for xterm-256color
This commit is contained in:
parent
2698a23f0b
commit
0b8542839f
2
vimrc
2
vimrc
|
@ -102,7 +102,7 @@ filetype plugin indent on " required
|
||||||
" see :h vundle for more details or wiki for FAQ
|
" see :h vundle for more details or wiki for FAQ
|
||||||
" Put your non-Plugin stuff after this line
|
" Put your non-Plugin stuff after this line
|
||||||
|
|
||||||
if has("gui_running")
|
if &term == 'xterm-256color'
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue