Skip to content

Commit

Permalink
refactor(toc): remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
champignoom committed Nov 28, 2023
1 parent a7104b0 commit 8c9ab04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/neorg/modules/core/qol/toc/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ module.on_event = function(event)

if module.config.public.sync_cursorline then
vim.api.nvim_create_autocmd({"CursorMoved", "CursorMovedI"}, {
-- pattern = "*.norg",
buffer = previous_buffer,
callback = function(ev)
assert(ev.buf == previous_buffer)
Expand Down

0 comments on commit 8c9ab04

Please sign in to comment.