Skip to content

Commit

Permalink
fix(dirman): correctly create nested directory (#1061)
Browse files Browse the repository at this point in the history
fixes #1060
  • Loading branch information
champignoom authored Sep 6, 2023
1 parent e06a76e commit 4f0888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/dirman/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ module.public = {
end

-- Create the workspace directory if not already present
vim.loop.fs_mkdir(workspace, 16877)
vim.fn.mkdir(workspace, "p")

-- Cache the current workspace
local current_ws = vim.deepcopy(module.private.current_workspace)
Expand Down

0 comments on commit 4f0888b

Please sign in to comment.