mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
Merge pull request #294 from wy-z/update_shell_section
[tmux] set 'termguicolors' when running nvim
This commit is contained in:
commit
50888e7810
@ -63,5 +63,9 @@ au FileType gitcommit call setpos('.', [0, 1, 1, 0])
|
||||
" => Shell section
|
||||
""""""""""""""""""""""""""""""
|
||||
if exists('$TMUX')
|
||||
set term=screen-256color
|
||||
if has('nvim')
|
||||
set termguicolors
|
||||
else
|
||||
set term=screen-256color
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user