Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 4daf520

Browse files
committed
feat: Move log files to $XDG_CACHE_HOME
1 parent a43aa48 commit 4daf520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/doom/extras/logging/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ log.new = function(config, standalone)
7272

7373
local outfile = string.format(
7474
"%s%s%s.log",
75-
vim.api.nvim_call_function("stdpath", { "data" }),
75+
vim.fn.stdpath("cache"),
7676
system.sep,
7777
config.plugin
7878
)

0 commit comments

Comments
 (0)