From 7a5774a71c3b7e6226dcebf25d697635227877f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Mon, 5 Dec 2022 01:04:36 +0100 Subject: [PATCH] Fix discord presence --- init.lua | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/init.lua b/init.lua index 4792b2e..21e672f 100644 --- a/init.lua +++ b/init.lua @@ -306,7 +306,7 @@ local config = { -- You can also add new plugins here as well: -- Add plugins, the packer syntax without the "use" - -- { "andweeb/presence.nvim" }, + { "andweeb/presence.nvim" }, -- { -- "ray-x/lsp_signature.nvim", -- event = "BufRead", @@ -315,30 +315,30 @@ local config = { -- end, -- }, -- - { "andweeb/presence.nvim", - require("presence"):setup({ - -- General options - 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) - 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 = "