mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
colorschemes/github-theme: init
This commit is contained in:
parent
50e9895c2c
commit
eb719d80a8
3 changed files with 94 additions and 0 deletions
23
plugins/colorschemes/github-theme.nix
Normal file
23
plugins/colorschemes/github-theme.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "github-theme";
|
||||
packPathName = "github-nvim-theme";
|
||||
package = "github-nvim-theme";
|
||||
isColorscheme = true;
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
settingsExample = {
|
||||
options = {
|
||||
transparent = true;
|
||||
dim_inactive = true;
|
||||
styles = {
|
||||
comments = "italic";
|
||||
keywords = "bold";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
./colorschemes/dracula-nvim.nix
|
||||
./colorschemes/dracula.nix
|
||||
./colorschemes/everforest.nix
|
||||
./colorschemes/github-theme.nix
|
||||
./colorschemes/gruvbox.nix
|
||||
./colorschemes/kanagawa.nix
|
||||
./colorschemes/melange.nix
|
||||
|
|
70
tests/test-sources/plugins/colorschemes/github-theme.nix
Normal file
70
tests/test-sources/plugins/colorschemes/github-theme.nix
Normal file
|
@ -0,0 +1,70 @@
|
|||
{
|
||||
empty = {
|
||||
colorscheme = "github_dark";
|
||||
colorschemes.github-theme.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
colorscheme = "github_dark";
|
||||
colorschemes.github-theme = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
options = {
|
||||
compile_path.__raw = "vim.fn.stdpath('cache') .. '/github-theme'";
|
||||
compile_file_suffix = "_compiled";
|
||||
hide_end_of_buffer = true;
|
||||
hide_nc_statusline = true;
|
||||
transparent = false;
|
||||
terminal_colors = true;
|
||||
dim_inactive = false;
|
||||
module_default = true;
|
||||
styles = {
|
||||
comments = "NONE";
|
||||
functions = "NONE";
|
||||
keywords = "NONE";
|
||||
variables = "NONE";
|
||||
conditionals = "NONE";
|
||||
constants = "NONE";
|
||||
numbers = "NONE";
|
||||
operators = "NONE";
|
||||
strings = "NONE";
|
||||
types = "NONE";
|
||||
};
|
||||
inverse = {
|
||||
match_paren = false;
|
||||
visual = false;
|
||||
search = false;
|
||||
};
|
||||
darken = {
|
||||
floats = true;
|
||||
sidebars = {
|
||||
enable = true;
|
||||
list = [ ];
|
||||
};
|
||||
};
|
||||
modules = [ ];
|
||||
};
|
||||
palettes = [ ];
|
||||
specs = [ ];
|
||||
groups = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
colorscheme = "github_light";
|
||||
colorschemes.github-theme = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
transparent = true;
|
||||
dim_inactive = true;
|
||||
styles = {
|
||||
comments = "italic";
|
||||
keywords = "bold";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue