mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
We used to only think of it as the plugin repo's name, but we have been needing to use it for the name of the plugin's packpath location.
68 lines
1.4 KiB
Nix
68 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
helpers,
|
|
...
|
|
}:
|
|
with lib;
|
|
helpers.neovim-plugin.mkNeovimPlugin {
|
|
name = "transparent";
|
|
packPathName = "transparent.nvim";
|
|
package = "transparent-nvim";
|
|
|
|
maintainers = [ maintainers.GaetanLepage ];
|
|
|
|
settingsOptions = {
|
|
groups =
|
|
helpers.defaultNullOpts.mkListOf types.str
|
|
[
|
|
"Normal"
|
|
"NormalNC"
|
|
"Comment"
|
|
"Constant"
|
|
"Special"
|
|
"Identifier"
|
|
"Statement"
|
|
"PreProc"
|
|
"Type"
|
|
"Underlined"
|
|
"Todo"
|
|
"String"
|
|
"Function"
|
|
"Conditional"
|
|
"Repeat"
|
|
"Operator"
|
|
"Structure"
|
|
"LineNr"
|
|
"NonText"
|
|
"SignColumn"
|
|
"CursorLine"
|
|
"CursorLineNr"
|
|
"StatusLine"
|
|
"StatusLineNC"
|
|
"EndOfBuffer"
|
|
]
|
|
''
|
|
The list of transparent groups.
|
|
'';
|
|
|
|
extra_groups = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
|
Additional groups that should be cleared.
|
|
'';
|
|
|
|
exclude_groups = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
|
Groups that you don't want to clear.
|
|
'';
|
|
};
|
|
|
|
settingsExample = {
|
|
extra_groups = [
|
|
"BufferLineTabClose"
|
|
"BufferLineBufferSelected"
|
|
"BufferLineFill"
|
|
"BufferLineBackground"
|
|
"BufferLineSeparator"
|
|
"BufferLineIndicatorSelected"
|
|
];
|
|
exclude_groups = [ ];
|
|
};
|
|
}
|