mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
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>
This commit is contained in:
parent
5ae654b74d
commit
6d4c15385d
3 changed files with 224 additions and 0 deletions
37
tests/test-sources/plugins/utils/presence-nvim.nix
Normal file
37
tests/test-sources/plugins/utils/presence-nvim.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue