From f93bad12f1b4feeeee007ceab4a350eb1aa26c1e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 25 Aug 2021 23:27:45 +0200 Subject: Updates from lvim, remove legacy --- .config/nvim/lua/core/log.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.config/nvim/lua/core/log.lua') 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 -- cgit v1.2.3-70-g09d2