github-presence/lua/github_presence/notify.lua

18 lines
361 B
Lua
Raw Normal View History

2022-10-13 22:19:21 +02:00
local M = {}
---@param message string
function M.info(message)
vim.schedule(
function() vim.notify(string.format("[%s]: %s", "github-presence", message), "info") end
)
end
---@param message string
function M.debug(message)
vim.schedule(
function() vim.notify(string.format("[%s]: %s", "github-presence", message), "debug") end
)
end
return M