From 20e42ddc8828724a412570fbc713ebb97876957c Mon Sep 17 00:00:00 2001 From: xHyroM Date: Thu, 17 Aug 2023 16:16:21 +0200 Subject: [PATCH] nvim discord presence --- .config/nvim/after/plugin/presence.lua | 22 ++++++++++++++++++++++ .config/nvim/lua/hyrik/packer.lua | 1 + .config/nvim/lua/hyrik/set.lua | 1 - .config/nvim/plugin/packer_compiled.lua | 5 +++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .config/nvim/after/plugin/presence.lua diff --git a/.config/nvim/after/plugin/presence.lua b/.config/nvim/after/plugin/presence.lua new file mode 100644 index 0000000..64dac6c --- /dev/null +++ b/.config/nvim/after/plugin/presence.lua @@ -0,0 +1,22 @@ +require("presence").setup({ + -- General options + neovim_image_text = "Neovim", -- 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") + debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(, true)`) + enable_line_number = false, -- Displays the current line number instead of the current project + blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches + buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "