Skip to content

Commit

Permalink
fix: AerialLine highlight has highest priority (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Nov 24, 2023
1 parent d82a994 commit 712802e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/aerial/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ M.highlight_line = function(buf, ns, hl_group, row, col, end_col)
vim.api.nvim_buf_set_extmark(buf, ns, row, col, {
end_col = end_col ~= -1 and end_col or nil,
end_row = end_col == -1 and (row + 1) or nil,
hl_eol = true,
hl_eol = end_col == -1,
hl_group = hl_group or "AerialLine",
priority = 4097,
strict = false,
})
end
Expand Down

0 comments on commit 712802e

Please sign in to comment.