mirror of
1
0
Fork 0

Merge pull request #294 from wy-z/update_shell_section

[tmux] set 'termguicolors' when running nvim
This commit is contained in:
Amir Salihefendic 2017-03-14 16:11:34 +01:00 committed by GitHub
commit 50888e7810
1 changed files with 5 additions and 1 deletions

View File

@ -63,5 +63,9 @@ au FileType gitcommit call setpos('.', [0, 1, 1, 0])
" => Shell section
""""""""""""""""""""""""""""""
if exists('$TMUX')
if has('nvim')
set termguicolors
else
set term=screen-256color
endif
endif