From e632eb4ae095d49f8eaf1d7131f9816c0c27d1ab Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 25 Dec 2022 13:46:42 +0100 Subject: [PATCH] style: mode no longer needed as param for view --- lua/lazy/view/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/view/init.lua b/lua/lazy/view/init.lua index 1f6266b..3013377 100644 --- a/lua/lazy/view/init.lua +++ b/lua/lazy/view/init.lua @@ -31,7 +31,7 @@ function M.show(mode) return end - M.view = (M.view and M.view.win) and M.view or M.create({ mode = mode }) + M.view = (M.view and M.view.win) and M.view or M.create() if mode then M.view.state.mode = mode end