Skip to content

Commit

Permalink
Remove unused highlight call
Browse files Browse the repository at this point in the history
  • Loading branch information
rbong committed Sep 25, 2024
1 parent 3aca960 commit 8fa598b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lua/flog/highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,6 @@ function M.nvim_get_graph_hl_callback(buffer, instance_number)
if commit.moved_parent then
local commit_col = vim.fn.virtcol2col(winid, line, 2 * commit.branch_index - 1)

vim.api.nvim_buf_add_highlight(
buffer,
-1,
hl_group_names[current_hl[commit.branch_index] or commit_hl_cache[commit.branch_index]],
line - 1,
merge_col - 1,
commit_col)

vim.api.nvim_buf_add_highlight(
buffer,
-1,
Expand Down

0 comments on commit 8fa598b

Please sign in to comment.