github-presence/lua/github_presence/notify.lua
2022-10-13 22:19:21 +02:00

18 lines
361 B
Lua

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