Fix termguicolors for tmux
This commit is contained in:
parent
1768c57919
commit
68eaf54616
1 changed files with 5 additions and 1 deletions
|
@ -132,7 +132,11 @@ let g:UltiSnipsExpandTrigger = '<S-tab>'
|
|||
" }}}
|
||||
" COLORS {{{
|
||||
syntax on
|
||||
set termguicolors
|
||||
if $TERM =~# '256color' && ( $TERM =~# '^screen' || $TERM =~# '^tmux' )
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
endif
|
||||
let g:gruvbox_contrast_dark='hard'
|
||||
let g:gruvbox_transparent_bg = 1
|
||||
let g:gruvbox_italic = 1
|
||||
|
|
Loading…
Add table
Reference in a new issue