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

Commit ec2f1e1

Browse files
committed
feat: Move log files to $XDG_CACHE_HOME
1 parent a4bee98 commit ec2f1e1

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
@@ -67,7 +67,7 @@ local unpack = unpack or table.unpack
6767
log.new = function(config, standalone)
6868
config = vim.tbl_deep_extend("force", default_config, config)
6969

70-
local outfile = ("%s/%s.log"):format(vim.fn.stdpath("data"), config.plugin)
70+
local outfile = ("%s/%s.log"):format(vim.fn.stdpath("cache"), config.plugin)
7171

7272
local obj
7373
if standalone then

0 commit comments

Comments
 (0)