CheckHealth: fix check for tmux escape-time (#5545)

This commit is contained in:
J Phani Mahesh 2016-10-29 18:18:19 +05:30 committed by Justin M. Keyes
parent 242c3d5f0b
commit 3d49fc1f50

View File

@ -106,7 +106,7 @@ function! s:check_tmux() abort
call health#report_error('command failed: '.cmd."\n".out) call health#report_error('command failed: '.cmd."\n".out)
elseif empty(tmux_esc_time) elseif empty(tmux_esc_time)
call health#report_error('escape-time is not set', suggestions) call health#report_error('escape-time is not set', suggestions)
elseif tmux_esc_time > 500 elseif tmux_esc_time > 300
call health#report_error( call health#report_error(
\ 'escape-time ('.tmux_esc_time.') is higher than 300ms', suggestions) \ 'escape-time ('.tmux_esc_time.') is higher than 300ms', suggestions)
else else