github-presence/lua/github_presence/github.lua
2022-10-14 21:52:49 +02:00

11 lines
217 B
Lua

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