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

14 lines
293 B
Lua

local notify = require "github_presence.notify"
local M = {}
function M.set_status(activity)
if activity == nil then return end
local _ = vim.fn.systemlist(
string.format("github-status --message 'Currently editting: %s'", activity.file)
)
notify.info "set status"
end
return M