Skip to content

Commit

Permalink
refactor(bar): dropbar_t:update() should not have return values
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed Jun 16, 2023
1 parent 0ccb5d7 commit 8a482ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dropbar/bar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a482ed

Please sign in to comment.