mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
* presence-nvim: init plugin Discord Rich Presence for Neovim * Apply suggestions from code review Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> * presence-nvim: fixes syntax error * presence-nvim: updates some options to accept raw types the options which were able to accept lua functions are now able to be assigned raw values --------- Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
37 lines
806 B
Nix
37 lines
806 B
Nix
{
|
|
empty = {
|
|
plugins.presence-nvim.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
plugins.presence-nvim = {
|
|
enable = true;
|
|
|
|
# General options.
|
|
autoUpdate = true;
|
|
|
|
neovimImageText = "The One True Text Editor";
|
|
mainImage = "neovim";
|
|
|
|
clientId = "793271441293967371";
|
|
logLevel = null;
|
|
debounceTimeout = 10;
|
|
enableLineNumber = false;
|
|
|
|
blacklist = [];
|
|
fileAssets = null;
|
|
showTime = true;
|
|
|
|
buttons = [];
|
|
|
|
# Rich presence text options.
|
|
editingText = "Editing %s";
|
|
fileExplorerText = "Browsing %s";
|
|
gitCommitText = "Committing changes";
|
|
pluginManagerText = "Managing plugins";
|
|
readingText = "Reading %s";
|
|
workspaceText = "Working on %s";
|
|
lineNumberText = "Line %s out of %s";
|
|
};
|
|
};
|
|
}
|