From cd98ca2c5b711d986a76a093ed78ad96824ee545 Mon Sep 17 00:00:00 2001 From: ray-x Date: Tue, 20 Sep 2022 17:08:56 +1000 Subject: [PATCH] update floating width --- lua/navigator/reference.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/navigator/reference.lua b/lua/navigator/reference.lua index e899e45..40ae622 100644 --- a/lua/navigator/reference.lua +++ b/lua/navigator/reference.lua @@ -83,7 +83,7 @@ local ref_view = function(err, locations, ctx, cfg) local wwidth = vim.api.nvim_get_option('columns') local mwidth = _NgConfigValues.width - width = math.min(width + 30, 120, math.floor(wwidth * mwidth)) + width = math.min(width + 30, math.floor(wwidth * mwidth)) -- log(items) -- log(width) opts = {