Skip to content

Commit cd3056e

Browse files
JimmysceneJimmyscene
and
Jimmyscene
authored
fix: Tangle should close fd for files (#1618)
The current implementation keeps the fd open for each file it is tangling, which results in tangled shell scripts not being able to be run until the instance is closed Co-authored-by: Jimmyscene <[email protected]>
1 parent bdb29ea commit cd3056e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ module.on_event = function(event)
526526
)
527527
end
528528
end)
529+
vim.uv.fs_close(fd)
529530
end)
530531
end
531532
end

0 commit comments

Comments
 (0)