Skip to content

Commit

Permalink
fix(cookbook): fix redrawtabline on TablineCloseButton; fix #140
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelot committed Apr 20, 2023
1 parent 5a635c1 commit 2aed06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -1995,8 +1995,8 @@ local TablineCloseButton = {
callback = function(_, minwid)
vim.schedule(function()
vim.api.nvim_buf_delete(minwid, { force = false })
vim.cmd.redrawtabline()
end)
vim.cmd.redrawtabline()
end,
minwid = function(self)
return self.bufnr
Expand Down

0 comments on commit 2aed06a

Please sign in to comment.