summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/log.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/core/log.lua')
-rw-r--r--.config/nvim/lua/core/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/core/log.lua b/.config/nvim/lua/core/log.lua
index c44808f..815aeb1 100644
--- a/.config/nvim/lua/core/log.lua
+++ b/.config/nvim/lua/core/log.lua
@@ -1,6 +1,6 @@
local Log = {}
-local logfile = string.format("%s/%s.log", vim.fn.stdpath "cache", "nvim")
+local logfile = string.format("%s/%s.log", get_cache_dir(), "nvim")
Log.levels = {
TRACE = 1,