mirror of
https://github.com/sadan4/nvim.git
synced 2025-06-17 00:47:00 -04:00
half of this is very broken
but it only breaks every two years so who cares
This commit is contained in:
parent
dfd9f2d265
commit
6587ce62cc
7 changed files with 259 additions and 11 deletions
|
@ -5,18 +5,18 @@ require("presence").setup({
|
|||
neovim_image_text = "A text editor of all time", -- 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)
|
||||
log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
|
||||
log_level = "error", -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
|
||||
debounce_timeout = 5, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
|
||||
enable_line_number = true, -- Displays the current line number instead of the current project
|
||||
blacklist = { "nitro" }, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
|
||||
buttons = {
|
||||
{
|
||||
label = "Git",
|
||||
url = "https://github.com/sadanslargehole",
|
||||
url = "https://github.com/sadan4",
|
||||
},
|
||||
{
|
||||
label = "My website",
|
||||
url = "https://sadanslargehole.com",
|
||||
url = "https://sadan.zip",
|
||||
},
|
||||
}, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table)
|
||||
file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue