From c75914f7f6012df1402be3da139a4290a2fc0ce3 Mon Sep 17 00:00:00 2001 From: ray-x Date: Wed, 28 Dec 2022 11:56:42 +1100 Subject: [PATCH] =?UTF-8?q?fix=20test=20errors=20=F0=9F=8E=84=F0=9F=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/navigator/diagnostics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/navigator/diagnostics.lua b/lua/navigator/diagnostics.lua index ed23609..dfc06c4 100644 --- a/lua/navigator/diagnostics.lua +++ b/lua/navigator/diagnostics.lua @@ -95,7 +95,7 @@ local function error_marker(result, ctx, config) local stats = api.nvim_list_uis()[1] or {} -- local wwidth = stats.width; - local wheight = stats.height + local wheight = stats.height or 0 if total_num <= wheight then return