nix-community.nixvim/tests/test-sources/plugins/utils/presence-nvim.nix
Shayan Rashid 6d4c15385d
plugins/presence-nvim: init plugin (#285)
* 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>
2023-03-24 13:20:10 +01:00

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";
};
};
}