with status update
This commit is contained in:
17
lua/github_presence/notify.lua
Normal file
17
lua/github_presence/notify.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
Reference in New Issue
Block a user