Moving to individual plugin files for lazy

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-03 13:36:05 +02:00
parent e9fad30daf
commit 93d665867b
37 changed files with 1130 additions and 1205 deletions

View File

@@ -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,
}