[tmux] set 'termguicolors' when running nvim
Signed-off-by: weiyang <weiyang.ones@gmail.com>
This commit is contained in:
parent
a6de243fca
commit
a35351a21b
1 changed files with 5 additions and 1 deletions
|
@ -63,5 +63,9 @@ au FileType gitcommit call setpos('.', [0, 1, 1, 0])
|
||||||
" => Shell section
|
" => Shell section
|
||||||
""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""
|
||||||
if exists('$TMUX')
|
if exists('$TMUX')
|
||||||
set term=screen-256color
|
if has('nvim')
|
||||||
|
set termguicolors
|
||||||
|
else
|
||||||
|
set term=screen-256color
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue