diff --git a/lua/neorg/modules/core/neorgcmd/module.lua b/lua/neorg/modules/core/neorgcmd/module.lua index 4a1973d55..a636dcf80 100644 --- a/lua/neorg/modules/core/neorgcmd/module.lua +++ b/lua/neorg/modules/core/neorgcmd/module.lua @@ -299,13 +299,7 @@ module.private = { local content = vim.list_slice(args, argument_index + 1) content["data"] = data modules.broadcast_event( - assert( - modules.create_event( - module, - table.concat({ "core.neorgcmd.events.", ref.name }), - content - ) - ) + assert(modules.create_event(module, table.concat({ "core.neorgcmd.events.", ref.name }), content)) ) end,