mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-21 01:39:40 +01:00
colorschemes/gruvbox-material: migrate to by-name
This commit is contained in:
parent
85488958c3
commit
afe3fc99a0
3 changed files with 0 additions and 1 deletions
|
|
@ -1,33 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
lib.nixvim.plugins.mkVimPlugin {
|
||||
name = "gruvbox-material";
|
||||
isColorscheme = true;
|
||||
globalPrefix = "gruvbox_material_";
|
||||
|
||||
maintainers = [ lib.maintainers.saygo-png ];
|
||||
|
||||
settingsExample = {
|
||||
foreground = "original";
|
||||
enable_bold = 1;
|
||||
enable_italic = 1;
|
||||
transparent_background = 2;
|
||||
colors_override = {
|
||||
green = [
|
||||
"#7d8618"
|
||||
142
|
||||
];
|
||||
};
|
||||
show_eob = 0;
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
warnings = lib.nixvim.mkWarnings "colorschemes.gruvbox-material" {
|
||||
when = (cfg.settings.better_performance or 0 == 1) && !config.impureRtp;
|
||||
message = ''
|
||||
You have enabled 'better_performance', but the top-level option 'impureRtp' is false.
|
||||
The performance option generates syntax files at runtime that cannot be accessed with impureRtp disabled.
|
||||
This breaks the plugin. Either disable 'better_performance' or enable 'impureRtp'.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./cmp
|
||||
|
||||
./colorschemes/gruvbox-material.nix
|
||||
./colorschemes/gruvbox-material-nvim.nix
|
||||
./colorschemes/kanagawa.nix
|
||||
./colorschemes/kanagawa-paper.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue