We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29993a7 commit 41aa380Copy full SHA for 41aa380
lua/neorg/modules/core/summary/module.lua
@@ -363,7 +363,10 @@ module.events.subscribed = {
363
364
module.on_event = function(event)
365
if event.type == "core.neorgcmd.events.summary.summarize" then
366
- module.public.generate_workspace_summary(event.buffer, event.cursor_position, event.content)
+ -- Remove `data` key, and take only the numerical keys from event.content
367
+ -- these numerical keys are the category args passed to the command
368
+ local include_categories = { unpack(event.content) }
369
+ module.public.generate_workspace_summary(event.buffer, event.cursor_position, include_categories)
370
end
371
372
0 commit comments