Skip to content

Commit 10bf607

Browse files
authored
fix: expand tangle paths (#1622)
1 parent 3f0f1b9 commit 10bf607

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/neorg/modules/core/tangle/module.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ module.on_event = function(event)
498498
local tangled_count = 0
499499

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

0 commit comments

Comments
 (0)