with options in another statement

This commit is contained in:
2022-10-13 20:49:27 +02:00
parent 4d15b0c8f9
commit ea113ddc74

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
)