Skip to content

Commit

Permalink
chore: autoformat with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro authored and github-actions[bot] committed Jan 6, 2024
1 parent 8eeca6d commit fab2f6e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions lua/neorg/modules/core/dirman/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fab2f6e

Please sign in to comment.