diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-25 23:27:45 +0200 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-25 23:27:45 +0200 |
| commit | f93bad12f1b4feeeee007ceab4a350eb1aa26c1e (patch) | |
| tree | 15b9edf259fc93da70a599dec47de3cfea551a95 /.config/nvim/lua/core/log.lua | |
| parent | f52dce93777c41671217ced2894c28d6da9114a0 (diff) | |
Updates from lvim, remove legacy
Diffstat (limited to '.config/nvim/lua/core/log.lua')
| -rw-r--r-- | .config/nvim/lua/core/log.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.config/nvim/lua/core/log.lua b/.config/nvim/lua/core/log.lua index e6f7afe..35ba4be 100644 --- a/.config/nvim/lua/core/log.lua +++ b/.config/nvim/lua/core/log.lua @@ -10,11 +10,7 @@ function Log:new(opts) end local obj = require("plenary.log").new(opts) - local path = string.format( - "%s/%s.log", - vim.api.nvim_call_function("stdpath", { "cache" }), - opts.plugin - ) + local path = string.format("%s/%s.log", vim.api.nvim_call_function("stdpath", { "cache" }), opts.plugin) obj.get_path = function() return path @@ -27,7 +23,7 @@ end --- based on Plenary.log ---@return log handle function Log:get_default() - return Log:new { plugin = "nvim", level = options.log.level } + return Log:new { plugin = "lunarvim", level = options.log.level } end return Log |