fix: log levels at echo

dev
Pocco81 2 years ago
parent 3c158484cd
commit 9cd81ff6e1

@ -5,13 +5,13 @@ return function(msg, kind)
local level = {}
if kind == "error" then
level.log = vim.log.kinds.ERROR
level.log = vim.log.levels.ERROR
level.type = "error"
elseif kind == "warn" then
level.log = vim.log.kinds.WARN
level.log = vim.log.levels.WARN
level.type = "error"
else
level.log = kind or vim.log.kinds.INFO
level.log = kind or vim.log.levels.INFO
level.type = "info"
end

Loading…
Cancel
Save