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

Commit

Permalink
feat: Move log files to $XDG_CACHE_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaw committed Sep 3, 2021
1 parent a4bee98 commit ec2f1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/doom/extras/logging/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ local unpack = unpack or table.unpack
log.new = function(config, standalone)
config = vim.tbl_deep_extend("force", default_config, config)

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

local obj
if standalone then
Expand Down

0 comments on commit ec2f1e1

Please sign in to comment.