From 8a482eddc7043ecf3a6679662aca3f282f65dcd8 Mon Sep 17 00:00:00 2001 From: bekaboo <18127878294@qq.com> Date: Fri, 16 Jun 2023 16:46:37 -0500 Subject: [PATCH] refactor(bar): dropbar_t:update() should not have return values --- lua/dropbar/bar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/dropbar/bar.lua b/lua/dropbar/bar.lua index e82743dd..f5e70247 100644 --- a/lua/dropbar/bar.lua +++ b/lua/dropbar/bar.lua @@ -431,7 +431,7 @@ function dropbar_t:update() return end if vim.fn.reg_executing() ~= '' or self.in_pick_mode then - return self.string_cache + return end local cursor = vim.api.nvim_win_get_cursor(self.win)