Skip to content

Commit

Permalink
fix(concealer): invalidate extmarks when range is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
benlubas authored and vhyrro committed Jun 8, 2024
1 parent c8d7f33 commit 51be069
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/neorg/modules/core/concealer/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ local function set_mark(bufid, row_0b, col_0b, text, highlight, ext_opts)
ui_watched = nil,
}

-- proxy for nvim 0.10+
if vim.version then
opt["invalidate"] = true
end

if ext_opts then
table_extend_in_place(opt, ext_opts)
end
Expand Down

0 comments on commit 51be069

Please sign in to comment.