with status update

This commit is contained in:
2022-10-13 22:19:21 +02:00
parent 90fac0d1ef
commit 635eac655b
8 changed files with 105 additions and 13 deletions

View File

@@ -0,0 +1,16 @@
local create = vim.api.nvim_create_augroup
local define = vim.api.nvim_create_autocmd
local M = {}
create("github_presence_autocmds", { clear = true })
function M.setup()
define({ "BufEnter" }, {
group = "github_presence_autocmds",
pattern = { "*" },
callback = function() require("github_presence.updates").set_status() end,
})
end
return M