diff --git a/lua/config/options.lua b/lua/config/options.lua index 137a76a..dda29b7 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -43,6 +43,8 @@ vim.g.encourage_me = true ---@type boolean Options: vim.g.usewakatime = true ---@type boolean Options: -- Allow music controls and stats vim.g.usemusic = false ---@type boolean Options: +-- Allow discord presence +vim.g.usediscord = false ---@type boolean Options: -- Enable HardTime on startup vim.g.usehardtime = false ---@type boolean Options: -- Enable Image plugin on compatible terminals diff --git a/lua/plugins/util.lua b/lua/plugins/util.lua index 517d97f..260e46c 100644 --- a/lua/plugins/util.lua +++ b/lua/plugins/util.lua @@ -127,6 +127,7 @@ return { { -- Discord Presence "IogaMaster/neocord", event = "VeryLazy", + cond = data.func.check_global_var("usediscord", true, true), opts = { logo = "https://raw.githubusercontent.com/rootiest/rootiest-nvim/b949af32e72db9fc35c18e14e2088710dc36dd15/logo/icon.png", main_image = "logo",