Adds conditional cfg for TC support

This commit is contained in:
William Carroll 2017-07-30 23:56:43 -04:00
parent 328fd88e98
commit 622dbcb833

View file

@ -116,7 +116,14 @@ set background=dark
syntax enable
colorscheme onedark
set termguicolors
if has('termguicolors')
set termguicolors
endif
if &term =~# '^screen'
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
endif
set history=1000
set undolevels=1000