Skip to content

Commit

Permalink
plugins/none-ls: remove deprecated prettier_d_slim formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 22, 2024
1 parent c22e21f commit bcbe244
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions plugins/none-ls/servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/test-sources/plugins/none-ls.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bcbe244

Please sign in to comment.