github-presence/lua/github_presence/github.lua

11 lines
217 B
Lua
Raw Permalink Normal View History

2022-10-13 22:19:21 +02:00
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)
)
end
return M