Skip to content

Commit

Permalink
fix(toc): clear title after assigning prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
champignoom authored and vhyrro committed Nov 28, 2023
1 parent 7115898 commit f446645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/neorg/modules/core/qol/toc/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ module.public = {
else
prefix = nil
end
title = nil
elseif capture == "title" then
title = node
elseif capture == "cancelled" then
Expand Down

0 comments on commit f446645

Please sign in to comment.