diff --git a/plugins/colorschemes/gruvbox-material.nix b/plugins/colorschemes/gruvbox-material-nvim.nix similarity index 88% rename from plugins/colorschemes/gruvbox-material.nix rename to plugins/colorschemes/gruvbox-material-nvim.nix index 3daac2f9..4abbb0d4 100644 --- a/plugins/colorschemes/gruvbox-material.nix +++ b/plugins/colorschemes/gruvbox-material-nvim.nix @@ -1,11 +1,9 @@ -{ - lib, - config, - ... -}: +{ lib, ... }: lib.nixvim.plugins.mkNeovimPlugin { - name = "gruvbox-material"; + name = "gruvbox-material-nvim"; isColorscheme = true; + colorscheme = "gruvbox-material"; + moduleName = "gruvbox-material"; packPathName = "gruvbox-material.nvim"; package = "gruvbox-material-nvim"; diff --git a/plugins/default.nix b/plugins/default.nix index b00971a1..1fa63ac7 100644 --- a/plugins/default.nix +++ b/plugins/default.nix @@ -13,7 +13,7 @@ ./colorschemes/github-theme.nix ./colorschemes/gruvbox.nix ./colorschemes/gruvbox-baby.nix - ./colorschemes/gruvbox-material.nix + ./colorschemes/gruvbox-material-nvim.nix ./colorschemes/kanagawa.nix ./colorschemes/kanagawa-paper.nix ./colorschemes/melange.nix diff --git a/plugins/deprecation.nix b/plugins/deprecation.nix index d77974fe..002926f0 100644 --- a/plugins/deprecation.nix +++ b/plugins/deprecation.nix @@ -23,6 +23,12 @@ let 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 = { # Added 2024-09-17 surround = "vim-surround"; diff --git a/tests/test-sources/plugins/colorschemes/gruvbox-material.nix b/tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix similarity index 91% rename from tests/test-sources/plugins/colorschemes/gruvbox-material.nix rename to tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix index d620fa48..ef158cf7 100644 --- a/tests/test-sources/plugins/colorschemes/gruvbox-material.nix +++ b/tests/test-sources/plugins/colorschemes/gruvbox-material-nvim.nix @@ -1,11 +1,11 @@ { lib, ... }: { empty = { - colorschemes.gruvbox-material.enable = true; + colorschemes.gruvbox-material-nvim.enable = true; }; defaults = { - colorschemes.gruvbox-material = { + colorschemes.gruvbox-material-nvim = { enable = true; settings = { @@ -31,7 +31,7 @@ }; example = { - colorschemes.gruvbox-material = { + colorschemes.gruvbox-material-nvim = { enable = true; settings = {