From bcbe244e54ddfb52cb6b39fbdf924e563e920efb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 22 Jan 2024 12:02:22 +0100 Subject: [PATCH] plugins/none-ls: remove deprecated prettier_d_slim formatter --- plugins/none-ls/servers.nix | 10 +++++++--- tests/test-sources/plugins/none-ls.nix | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/plugins/none-ls/servers.nix b/plugins/none-ls/servers.nix index dbebb91bdb..211129a1ea 100644 --- a/plugins/none-ls/servers.nix +++ b/plugins/none-ls/servers.nix @@ -174,9 +174,6 @@ with lib; let prettier = { package = pkgs.nodePackages.prettier; }; - prettier_d_slim = { - package = pkgs.nodePackages.prettier_d_slim; - }; protolint = { package = pkgs.protolint; }; @@ -225,6 +222,13 @@ in { (map helpers.mkServer dataFlattened) ++ [ ./prettier.nix + # Introduced January 22 2024. + # TODO remove in early March 2024. + ( + mkRemovedOptionModule + ["plugins" "none-ls" "sources" "formatting" "prettier_d_slim"] + "`prettier_d_slim` is no longer maintained for >3 years. Please migrate to `prettierd`" + ) ]; config = let diff --git a/tests/test-sources/plugins/none-ls.nix b/tests/test-sources/plugins/none-ls.nix index 5027b2c1c6..344dbdfd71 100644 --- a/tests/test-sources/plugins/none-ls.nix +++ b/tests/test-sources/plugins/none-ls.nix @@ -105,7 +105,6 @@ nixpkgs_fmt.enable = true; phpcbf.enable = true; prettier.enable = true; - prettier_d_slim.enable = true; shfmt.enable = true; stylua.enable = true; taplo.enable = true;