aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/lua/nvim/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/nvim/health.lua b/runtime/lua/nvim/health.lua
index e11574ee97..02e08bd381 100644
--- a/runtime/lua/nvim/health.lua
+++ b/runtime/lua/nvim/health.lua
@@ -273,7 +273,7 @@ local function check_tmux()
if tmux_esc_time ~= 'error' then
if empty(tmux_esc_time) then
health.report_error('`escape-time` is not set', suggestions)
- elseif tmux_esc_time > 300 then
+ elseif tonumber(tmux_esc_time) > 300 then
health.report_error(
'`escape-time` (' .. tmux_esc_time .. ') is higher than 300ms',
suggestions