From ec2f1e127a88f0407ec66ac185fcd688a0e3f75f Mon Sep 17 00:00:00 2001 From: Jackson Law <178053+jlaw@users.noreply.github.com> Date: Fri, 27 Aug 2021 10:22:53 -0700 Subject: [PATCH] feat: Move log files to $XDG_CACHE_HOME --- lua/doom/extras/logging/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/doom/extras/logging/init.lua b/lua/doom/extras/logging/init.lua index 53f2f7d1e..a93850d52 100644 --- a/lua/doom/extras/logging/init.lua +++ b/lua/doom/extras/logging/init.lua @@ -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