Skip to content

Commit

Permalink
fix: expand tangle paths
Browse files Browse the repository at this point in the history
  • Loading branch information
benlubas committed Dec 23, 2024
1 parent 6b94590 commit 27f193a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/neorg/modules/core/tangle/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ module.on_event = function(event)
local tangled_count = 0

for file, content in pairs(tangles) do
file = dirman_utils.expand_pathlib(file):tostring()
vim.loop.fs_open(file, "w", 438, function(err, fd)
assert(not err and fd, lib.lazy_string_concat("Failed to open file '", file, "' for tangling: ", err))

Expand Down

0 comments on commit 27f193a

Please sign in to comment.