Skip to content

Commit

Permalink
Don't reset moved branch highlight until the following commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rbong committed Aug 21, 2024
1 parent 63e8794 commit 68e3d84
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lua/flog/graph.lua
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,6 @@ function M.get_graph(
commit_hl[parent_branch_index] = new_parent_hl
current_hl[parent_branch_index] = new_parent_hl
end

local new_commit_hl = (commit_branch_index - 1) % 9 + 1
if new_commit_hl ~= current_hl[commit_branch_index] then
commit_hl[commit_branch_index] = new_commit_hl
current_hl[commit_branch_index] = new_commit_hl
end
end
end
end
Expand Down

0 comments on commit 68e3d84

Please sign in to comment.