From fab2f6e2a812f25b4c2627a6ae8d17ef1bc28c54 Mon Sep 17 00:00:00 2001 From: vhyrro Date: Sat, 6 Jan 2024 19:59:12 +0000 Subject: [PATCH] chore: autoformat with stylua --- lua/neorg/modules/core/dirman/module.lua | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lua/neorg/modules/core/dirman/module.lua b/lua/neorg/modules/core/dirman/module.lua index 405938d31..9b0a01759 100644 --- a/lua/neorg/modules/core/dirman/module.lua +++ b/lua/neorg/modules/core/dirman/module.lua @@ -181,11 +181,13 @@ module.public = { -- Broadcast the workspace_changed event with all the necessary information modules.broadcast_event( - assert(modules.create_event( - module, - "core.dirman.events.workspace_changed", - { old = current_ws, new = new_workspace } - )) + assert( + modules.create_event( + module, + "core.dirman.events.workspace_changed", + { old = current_ws, new = new_workspace } + ) + ) ) return true @@ -204,7 +206,9 @@ module.public = { module.config.public.workspaces[workspace_name] = workspace_path -- Broadcast the workspace_added event with the newly added workspace as the content modules.broadcast_event( - assert(modules.create_event(module, "core.dirman.events.workspace_added", { workspace_name, workspace_path })) + assert( + modules.create_event(module, "core.dirman.events.workspace_added", { workspace_name, workspace_path }) + ) ) -- Sync autocompletions so the user can see the new workspace