with basic hello world
This commit is contained in:
parent
4836682029
commit
67dd9f958c
7
.stylua.toml
Normal file
7
.stylua.toml
Normal 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"
|
10
lua/github-presence/init.lua
Normal file
10
lua/github-presence/init.lua
Normal 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
|
7
queries/clearStatus.graphql
Normal file
7
queries/clearStatus.graphql
Normal file
@ -0,0 +1,7 @@
|
||||
mutation {
|
||||
changeUserStatus(input: {}) {
|
||||
status {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
10
queries/setStatus.graphql
Normal file
10
queries/setStatus.graphql
Normal file
@ -0,0 +1,10 @@
|
||||
mutation ($status: ChangeUserStatusInput!) {
|
||||
changeUserStatus(input: $status) {
|
||||
status {
|
||||
emoji
|
||||
expiresAt
|
||||
limitedAvailability: indicatesLimitedAvailability
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user