We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found that clicking the close button in bufferlines does not update the UI.
local TablineCloseButton = { condition = function(self) return not vim.api.nvim_buf_get_option(self.bufnr, "modified") end, { provider = " " }, { provider = "", hl = { fg = "gray" }, on_click = { callback = function(_, minwid) vim.schedule(function() vim.api.nvim_buf_delete(minwid, { force = false }) vim.cmd.redrawtabline() -- It works,UI was updated as expected end) -- vim.cmd.redrawtabline() -- Here! This line of code should be wrapped in the previous function. end, minwid = function(self) return self.bufnr end, name = "heirline_tabline_close_buffer_callback", }, }, }
The text was updated successfully, but these errors were encountered:
mhh can't reproduce but should be fixed
Sorry, something went wrong.
2aed06a
Successfully merging a pull request may close this issue.
I found that clicking the close button in bufferlines does not update the UI.
The text was updated successfully, but these errors were encountered: