mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
87 lines
1.9 KiB
Nix
87 lines
1.9 KiB
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib.nixvim) defaultNullOpts;
|
|
in
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "cyberdream";
|
|
isColorscheme = true;
|
|
packPathName = "cyberdream.nvim";
|
|
package = "cyberdream-nvim";
|
|
|
|
maintainers = [ lib.maintainers.AndresBermeoMarinelli ];
|
|
|
|
settingsOptions = {
|
|
transparent = defaultNullOpts.mkBool false ''
|
|
Enable transparent background.
|
|
'';
|
|
|
|
italic_comments = defaultNullOpts.mkBool false ''
|
|
Enable italics comments.
|
|
'';
|
|
|
|
hide_fillchars = defaultNullOpts.mkBool false ''
|
|
Replace all fillchars with ' ' for the ultimate clean look.
|
|
'';
|
|
|
|
borderless_telescope = defaultNullOpts.mkBool true ''
|
|
Modern borderless telescope theme.
|
|
'';
|
|
|
|
terminal_colors = defaultNullOpts.mkBool true ''
|
|
Set terminal colors used in `:terminal`.
|
|
'';
|
|
|
|
theme = {
|
|
highlights = defaultNullOpts.mkAttrsOf lib.types.highlight { } ''
|
|
Highlight groups to override, adding new groups is also possible.
|
|
See `:h highlight-groups` for a list of highlight groups.
|
|
|
|
Example:
|
|
|
|
```nix
|
|
{
|
|
Comment = {
|
|
fg = "#696969";
|
|
bg = "NONE";
|
|
italic = true;
|
|
};
|
|
}
|
|
```
|
|
|
|
Complete list can be found in `lua/cyberdream/theme.lua` in upstream repository.
|
|
'';
|
|
|
|
colors = defaultNullOpts.mkAttrsOf lib.types.str { } ''
|
|
Override the default colors used.
|
|
|
|
For a full list of colors, see upstream documentation.
|
|
'';
|
|
};
|
|
};
|
|
|
|
settingsExample = {
|
|
transparent = true;
|
|
italic_comments = true;
|
|
hide_fillchars = true;
|
|
borderless_telescope = true;
|
|
terminal_colors = true;
|
|
|
|
theme = {
|
|
highlights = {
|
|
Comment = {
|
|
fg = "#696969";
|
|
bg = "NONE";
|
|
italic = true;
|
|
};
|
|
};
|
|
colors = {
|
|
bg = "#000000";
|
|
green = "#00ff00";
|
|
magenta = "#ff00ff";
|
|
};
|
|
};
|
|
};
|
|
}
|