1
0
Fork 0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-12-27 18:42:35 +01:00

fix: move to a new application id

to prevent potential issues with the original project
This commit is contained in:
Jiří Štefka 2023-11-09 15:57:47 +01:00
parent 5fa130577a
commit a76b1d74e3
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
2 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ require("presence").setup({
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
neovim_image_text = "The One True Text Editor", -- Text displayed when hovered over the Neovim image
main_image = "neovim", -- Main image display (either "neovim" or "file")
client_id = "793271441293967371", -- Use your own Discord application client id (not recommended)
client_id = "1172122807501594644", -- Use your own Discord application client id (not recommended)
log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
enable_line_number = false, -- Displays the current line number instead of the current project
@ -91,7 +91,7 @@ Or if global variables are more your thing, you can use any of the following ins
let g:presence_auto_update = 1
let g:presence_neovim_image_text = "The One True Text Editor"
let g:presence_main_image = "neovim"
let g:presence_client_id = "793271441293967371"
let g:presence_client_id = "1172122807501594644"
let g:presence_log_level
let g:presence_debounce_timeout = 10
let g:presence_enable_line_number = 0

View file

@ -116,7 +116,7 @@ function Presence:setup(...)
-- General options
self:set_option("auto_update", 1)
self:set_option("client_id", "793271441293967371")
self:set_option("client_id", "1172122807501594644")
self:set_option("debounce_timeout", 10)
self:set_option("neovim_image_text", "The One True Text Editor")
self:set_option("main_image", "neovim")