Moving to individual plugin files for lazy
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,29 +1,31 @@
|
||||
local setup, presence = pcall(require, "presence")
|
||||
if not setup then
|
||||
return
|
||||
end
|
||||
return {
|
||||
"TakenMC/presence.nvim",
|
||||
config = function()
|
||||
local presence = require("presence")
|
||||
|
||||
presence.setup({
|
||||
auto_update = true,
|
||||
neovim_image_text = "The One True Text Editor",
|
||||
main_image = "neovim",
|
||||
client_id = "793271441293967371",
|
||||
log_level = info,
|
||||
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,
|
||||
presence.setup({
|
||||
auto_update = true,
|
||||
neovim_image_text = "The One True Text Editor",
|
||||
main_image = "neovim",
|
||||
client_id = "793271441293967371",
|
||||
log_level = info,
|
||||
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,
|
||||
|
||||
editing_text = "Editing %s",
|
||||
file_explorer_text = "Browsing %s",
|
||||
git_commit_text = "Committing changes",
|
||||
plugin_manager_text = "Managing plugins",
|
||||
reading_text = "Reading %s",
|
||||
workspace_text = "Working on %s",
|
||||
line_number_text = "Line %s out of %s",
|
||||
})
|
||||
editing_text = "Editing %s",
|
||||
file_explorer_text = "Browsing %s",
|
||||
git_commit_text = "Committing changes",
|
||||
plugin_manager_text = "Managing plugins",
|
||||
reading_text = "Reading %s",
|
||||
workspace_text = "Working on %s",
|
||||
line_number_text = "Line %s out of %s",
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user