mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-28 13:58:27 +02:00
refactor: use more flexible paths (#1381)
This commit is contained in:
parent
38b0c3d860
commit
8eed75d67f
15 changed files with 216 additions and 153 deletions
|
@ -95,7 +95,7 @@ local function get_log_path(name)
|
|||
local logger = require "core.log"
|
||||
local file
|
||||
if name == "nvim" then
|
||||
file = CACHE_PATH .. "/log"
|
||||
file = utils.join_paths(get_cache_dir(), "log")
|
||||
else
|
||||
file = logger:new({ plugin = name }):get_path()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue