Skip to content

Commit

Permalink
fix: position not highlighted when opening float
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Jan 3, 2022
1 parent fd31b25 commit 351b969
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/aerial/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ M.update_aerial_buffer = function(buf)
for _, hl in ipairs(highlights) do
vim.api.nvim_buf_add_highlight(aer_bufnr, ns, hl.group, hl.row - 1, hl.col_start, hl.col_end)
end
M.update_highlights(bufnr)
end

-- Update the highlighted lines in the aerial buffer
Expand Down

0 comments on commit 351b969

Please sign in to comment.