1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

colorschemes/gruvbox-material: rename to gruvbox-material-nvim

This will allow later adding a `gruvbox-material` plugin for the non-lua
plugin.
This commit is contained in:
Matt Sturgeon 2025-08-06 18:40:20 +01:00
parent abc17edf07
commit 346ebc9c18
4 changed files with 14 additions and 10 deletions

View file

@ -1,11 +1,9 @@
{ { lib, ... }:
lib,
config,
...
}:
lib.nixvim.plugins.mkNeovimPlugin { lib.nixvim.plugins.mkNeovimPlugin {
name = "gruvbox-material"; name = "gruvbox-material-nvim";
isColorscheme = true; isColorscheme = true;
colorscheme = "gruvbox-material";
moduleName = "gruvbox-material";
packPathName = "gruvbox-material.nvim"; packPathName = "gruvbox-material.nvim";
package = "gruvbox-material-nvim"; package = "gruvbox-material-nvim";

View file

@ -13,7 +13,7 @@
./colorschemes/github-theme.nix ./colorschemes/github-theme.nix
./colorschemes/gruvbox.nix ./colorschemes/gruvbox.nix
./colorschemes/gruvbox-baby.nix ./colorschemes/gruvbox-baby.nix
./colorschemes/gruvbox-material.nix ./colorschemes/gruvbox-material-nvim.nix
./colorschemes/kanagawa.nix ./colorschemes/kanagawa.nix
./colorschemes/kanagawa-paper.nix ./colorschemes/kanagawa-paper.nix
./colorschemes/melange.nix ./colorschemes/melange.nix

View file

@ -23,6 +23,12 @@ let
It is recommended to use `plugins.pckr` or `plugins.lazy` instead. It is recommended to use `plugins.pckr` or `plugins.lazy` instead.
''; '';
}; };
renamed.colorschemes = {
# Added 2025-08-06
# NOTE: The old name is not in a stable version and was only in unstable for a few weeks,
# so we can remove this alias more quickly than usual.
gruvbox-material = "gruvbox-material-nvim";
};
renamed.plugins = { renamed.plugins = {
# Added 2024-09-17 # Added 2024-09-17
surround = "vim-surround"; surround = "vim-surround";

View file

@ -1,11 +1,11 @@
{ lib, ... }: { lib, ... }:
{ {
empty = { empty = {
colorschemes.gruvbox-material.enable = true; colorschemes.gruvbox-material-nvim.enable = true;
}; };
defaults = { defaults = {
colorschemes.gruvbox-material = { colorschemes.gruvbox-material-nvim = {
enable = true; enable = true;
settings = { settings = {
@ -31,7 +31,7 @@
}; };
example = { example = {
colorschemes.gruvbox-material = { colorschemes.gruvbox-material-nvim = {
enable = true; enable = true;
settings = { settings = {