nix-community.nixvim/plugins/ui/transparent.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

71 lines
1.4 KiB
Nix
Raw Normal View History

2024-03-12 01:07:21 +01:00
{
lib,
helpers,
config,
pkgs,
...
}:
with lib;
helpers.neovim-plugin.mkNeovimPlugin config {
name = "transparent";
originalName = "transparent.nvim";
defaultPackage = pkgs.vimPlugins.transparent-nvim;
maintainers = [ maintainers.GaetanLepage ];
settingsOptions = {
groups =
helpers.defaultNullOpts.mkListOf types.str
2024-06-11 16:54:41 +01:00
[
"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"
]
2024-03-12 01:07:21 +01:00
''
The list of transparent groups.
'';
2024-06-11 16:54:41 +01:00
extra_groups = helpers.defaultNullOpts.mkListOf types.str [ ] ''
2024-03-12 01:07:21 +01:00
Additional groups that should be cleared.
'';
2024-06-11 16:54:41 +01:00
exclude_groups = helpers.defaultNullOpts.mkListOf types.str [ ] ''
2024-03-12 01:07:21 +01:00
Groups that you don't want to clear.
'';
};
settingsExample = {
extra_groups = [
"BufferLineTabClose"
"BufferLineBufferSelected"
"BufferLineFill"
"BufferLineBackground"
"BufferLineSeparator"
"BufferLineIndicatorSelected"
];
exclude_groups = [ ];
};
}