with options in another statement

This commit is contained in:
Kasper Juul Hermansen 2022-10-13 20:49:27 +02:00
parent 4d15b0c8f9
commit ea113ddc74
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -3,7 +3,8 @@ local GitHubPresence = {}
GitHubPresence.setup = {}
function GitHubPresence:setup(options)
self.options = options or {}
options = options or {}
self.options = options
vim.schedule(
function() vim.cmd(string.format([[echom "[%s] %s"]], "github-presence", "initialized")) end
)