diff --git a/lua/neorg/modules/core/concealer/module.lua b/lua/neorg/modules/core/concealer/module.lua index 81acc0a57..4c0c3c5e3 100644 --- a/lua/neorg/modules/core/concealer/module.lua +++ b/lua/neorg/modules/core/concealer/module.lua @@ -1251,6 +1251,11 @@ local function handle_init_event(event) _n_byte_prev ---@diagnostic disable-line -- TODO: type error workaround ) assert(tag == "lines") + + if not module.private.enabled then + return + end + mark_line_range_changed(bufid, row_start_0b, row_updated_0bex) end