mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-22 18:29:40 +01:00
colorschemes/kanagawa-paper: migrate to by-name
This commit is contained in:
parent
641cc17206
commit
7e31814abc
3 changed files with 0 additions and 1 deletions
|
|
@ -1,54 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "kanagawa-paper";
|
||||
isColorscheme = true;
|
||||
package = "kanagawa-paper-nvim";
|
||||
|
||||
description = ''
|
||||
You can select the theme in two ways:
|
||||
- Set `colorschemes.kanagawa-paper.settings.theme` AND explicitly unset `vim.o.background` (i.e. `opts.background = ""`).
|
||||
- Set `colorschemes.kanagawa-paper.settings.background` (the active theme will depend on the value of `vim.o.background`).
|
||||
'';
|
||||
|
||||
maintainers = [ lib.maintainers.FKouhai ];
|
||||
|
||||
settingsExample = {
|
||||
background = "dark";
|
||||
cache = false;
|
||||
colors = {
|
||||
palette = { };
|
||||
theme = {
|
||||
ink = { };
|
||||
canvas = { };
|
||||
};
|
||||
};
|
||||
|
||||
undercurl = true;
|
||||
styles = {
|
||||
comments = {
|
||||
italic = true;
|
||||
};
|
||||
functions = {
|
||||
italic = true;
|
||||
};
|
||||
keywords = {
|
||||
italic = true;
|
||||
};
|
||||
statement_style = {
|
||||
bold = true;
|
||||
};
|
||||
};
|
||||
|
||||
transparent = true;
|
||||
auto_plugins = false;
|
||||
dim_inactive = false;
|
||||
gutter = false;
|
||||
compile = false;
|
||||
overrides = lib.nixvim.nestedLiteralLua "function(colors) return {} end";
|
||||
terminal_colors = false;
|
||||
theme = "ink";
|
||||
};
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./cmp
|
||||
|
||||
./colorschemes/kanagawa-paper.nix
|
||||
./colorschemes/melange.nix
|
||||
./colorschemes/mini-base16.nix
|
||||
./colorschemes/mini-hues.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue