check terminal type and enable gui colours for xterm-256color

This commit is contained in:
ManjaroOne666 2018-02-03 19:31:02 +00:00
parent 2698a23f0b
commit 0b8542839f
1 changed files with 1 additions and 1 deletions

2
vimrc
View File

@ -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