Trans.nvim/lua/Trans/core/debug.lua

9 lines
216 B
Lua
Raw Normal View History

2023-09-08 22:44:23 +08:00
---@class Trans
---@field debug fun(message: string, level: number?)
return function (message, level)
level = level or vim.log.levels.INFO
-- TODO : custom messaage filter
vim.notify(message, level)
end