Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Jul 19, 2024
1 parent d509021 commit d350c85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lua/configs/rebelot/heirline-nvim/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,11 @@ local function update_git_branch()
end
end
end
git_branch_status_cache = tbl.tbl_not_empty(branch_status) and branch_status or nil
if tbl.tbl_not_empty(branch_status) then
git_branch_status_cache = branch_status
else
git_branch_status_cache = nil
end
end
vim.schedule(function()
vim.api.nvim_exec_autocmds("User", {
Expand Down

0 comments on commit d350c85

Please sign in to comment.