1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/plugins/by-name/presence/default.nix
2025-10-06 21:22:59 +00:00

33 lines
726 B
Nix

{
lib,
...
}:
lib.nixvim.plugins.mkNeovimPlugin {
name = "presence";
package = "presence-nvim";
description = "Discord Rich Presence for Neovim.";
maintainers = [ lib.maintainers.khaneliman ];
# TODO: introduced 2025-10-06
inherit (import ./deprecations.nix) deprecateExtraOptions optionsRenamedToSettings;
settingsExample = {
auto_update = false;
neovim_image_text = "The Superior Text Editor";
main_image = "file";
editing_text = "Crafting %s";
workspace_text = "Working on %s";
enable_line_number = true;
buttons = [
{
label = "GitHub";
url = "https://github.com/username";
}
];
blacklist = [
"NvimTree"
"alpha"
];
};
}