Skip to content

Commit 346ebc9

Browse files
committed
colorschemes/gruvbox-material: rename to gruvbox-material-nvim
This will allow later adding a `gruvbox-material` plugin for the non-lua plugin.
1 parent abc17ed commit 346ebc9

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

plugins/colorschemes/gruvbox-material.nix renamed to plugins/colorschemes/gruvbox-material-nvim.nix

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
{
2-
lib,
3-
config,
4-
...
5-
}:
1+
{ lib, ... }:
62
lib.nixvim.plugins.mkNeovimPlugin {
7-
name = "gruvbox-material";
3+
name = "gruvbox-material-nvim";
84
isColorscheme = true;
5+
colorscheme = "gruvbox-material";
6+
moduleName = "gruvbox-material";
97
packPathName = "gruvbox-material.nvim";
108
package = "gruvbox-material-nvim";
119

plugins/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
./colorschemes/github-theme.nix
1414
./colorschemes/gruvbox.nix
1515
./colorschemes/gruvbox-baby.nix
16-
./colorschemes/gruvbox-material.nix
16+
./colorschemes/gruvbox-material-nvim.nix
1717
./colorschemes/kanagawa.nix
1818
./colorschemes/kanagawa-paper.nix
1919
./colorschemes/melange.nix

plugins/deprecation.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ let
2323
It is recommended to use `plugins.pckr` or `plugins.lazy` instead.
2424
'';
2525
};
26+
renamed.colorschemes = {
27+
# Added 2025-08-06
28+
# NOTE: The old name is not in a stable version and was only in unstable for a few weeks,
29+
# so we can remove this alias more quickly than usual.
30+
gruvbox-material = "gruvbox-material-nvim";
31+
};
2632
renamed.plugins = {
2733
# Added 2024-09-17
2834
surround = "vim-surround";

tests/test-sources/plugins/colorschemes/gruvbox-material.nix renamed to tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{ lib, ... }:
22
{
33
empty = {
4-
colorschemes.gruvbox-material.enable = true;
4+
colorschemes.gruvbox-material-nvim.enable = true;
55
};
66

77
defaults = {
8-
colorschemes.gruvbox-material = {
8+
colorschemes.gruvbox-material-nvim = {
99
enable = true;
1010

1111
settings = {
@@ -31,7 +31,7 @@
3131
};
3232

3333
example = {
34-
colorschemes.gruvbox-material = {
34+
colorschemes.gruvbox-material-nvim = {
3535
enable = true;
3636

3737
settings = {

0 commit comments

Comments
 (0)