with basic hello world

This commit is contained in:
Kasper Juul Hermansen 2022-10-13 20:45:46 +02:00
parent 4836682029
commit 67dd9f958c
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
5 changed files with 34 additions and 0 deletions

7
.stylua.toml Normal file
View File

@ -0,0 +1,7 @@
column_width = 100
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferDouble"
call_parentheses = "None"
collapse_simple_statement = "Always"

View File

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

View File

@ -0,0 +1,7 @@
mutation {
changeUserStatus(input: {}) {
status {
message
}
}
}

10
queries/setStatus.graphql Normal file
View File

@ -0,0 +1,10 @@
mutation ($status: ChangeUserStatusInput!) {
changeUserStatus(input: $status) {
status {
emoji
expiresAt
limitedAvailability: indicatesLimitedAvailability
message
}
}
}