Skip to content

Commit

Permalink
leave comment for future performance improve
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 19, 2024
1 parent 72c8ef6 commit 857b1aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/indentmini/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ local function on_line(_, winid, bufnr, row)
if line_is_empty and col > 0 then
opt.config.virt_text_win_col = i - 1
end
--TODO(glepnir): store id with changedtick then compare for performance
buf_set_extmark(bufnr, ns, row, col, opt.config)
opt.config.virt_text_win_col = nil
end
Expand Down

0 comments on commit 857b1aa

Please sign in to comment.