Moving to neocord
This commit is contained in:
@@ -1,26 +1,22 @@
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"TakenMC/presence.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
enabled = false,
|
||||
"IogaMaster/neocord",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
local presence = require("presence")
|
||||
local neocord = require("neocord")
|
||||
|
||||
presence.setup({
|
||||
auto_update = true,
|
||||
neovim_image_text = "The One True Text Editor",
|
||||
neocord.setup({
|
||||
logo = "auto",
|
||||
logo_tooltip = nil,
|
||||
-- neovim_image_text = "The One True Text Editor",
|
||||
main_image = "neovim",
|
||||
client_id = "793271441293967371",
|
||||
log_level = info,
|
||||
log_level = nil,
|
||||
debounce_timeout = 10,
|
||||
enable_line_number = false,
|
||||
blacklist = {},
|
||||
buttons = {
|
||||
{ label = "Neovim", url = "https://github.com/neovim/neovim" },
|
||||
{ label = "My config", url = "https://gitlab.com/taken-personal/neovim-config" },
|
||||
},
|
||||
file_assets = {},
|
||||
show_time = true,
|
||||
global_timer = false,
|
||||
|
||||
editing_text = "Editing %s",
|
||||
file_explorer_text = "Browsing %s",
|
||||
@@ -29,6 +25,7 @@ return {
|
||||
reading_text = "Reading %s",
|
||||
workspace_text = "Working on %s",
|
||||
line_number_text = "Line %s out of %s",
|
||||
terminal_text = "Using Terminal",
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"ObserverOfTime/nvimcord",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
enabled = false,
|
||||
config = function()
|
||||
local nvimcord = require("nvimcord")
|
||||
|
||||
nvimcord.setup({
|
||||
autostart = true,
|
||||
client_id = "793271441293967371",
|
||||
large_file_icon = false,
|
||||
log_level = vim.log.levels.DEBUG,
|
||||
workspace_name = function()
|
||||
return vim.cmd([[pwd]])
|
||||
end,
|
||||
workspace_url = function()
|
||||
return ""
|
||||
end,
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user