Merge pull request #20872 from neovim/backport-20868-to-release-0.8

[Backport release-0.8] fix(health): correct tmux rgb verification
This commit is contained in:
zeertzjq
2022-10-30 08:06:12 +08:00
committed by GitHub

View File

@@ -235,7 +235,7 @@ function! s:check_tmux() abort
endif
" check for RGB capabilities
let info = system(['tmux', 'server-info'])
let info = system(['tmux', 'show-messages', '-JT'])
let has_tc = stridx(info, " Tc: (flag) true") != -1
let has_rgb = stridx(info, " RGB: (flag) true") != -1
if !has_tc && !has_rgb