From 49997e1c8e6afe1c41b145d3ce553f8ccf085422 Mon Sep 17 00:00:00 2001 From: dish Date: Wed, 1 Oct 2025 11:12:47 -0400 Subject: [PATCH] {nodePackages,vimPlugins}.coc-rls: drop rls has been unmaintained for nearly 3 years, we should remove all tooling supporting it and encourage users to switch to rust-analyzer-supporting tooling. --- .../editors/vim/plugins/aliases.nix | 1 + .../editors/vim/plugins/nodePackagePlugins.nix | 1 - pkgs/development/node-packages/aliases.nix | 1 + .../node-packages/node-packages.json | 1 - .../node-packages/node-packages.nix | 18 ------------------ 5 files changed, 2 insertions(+), 20 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/aliases.nix b/pkgs/applications/editors/vim/plugins/aliases.nix index a68f24ea0653..d75ff27bfe7d 100644 --- a/pkgs/applications/editors/vim/plugins/aliases.nix +++ b/pkgs/applications/editors/vim/plugins/aliases.nix @@ -42,6 +42,7 @@ mapAliases ( blueballs-neovim = throw "`blueballs-neovim` has been removed"; # added 2025-06-17 BufOnly = BufOnly-vim; calendar = calendar-vim; + coc-rls = throw "coc-rls has been removed, as rls has been archived since 2022. You should use coc-rust-analyzer instead, as rust-analyzer is maintained."; # addedd 2025-10-01 coffee-script = vim-coffee-script; coffeeScript = vim-coffee-script; # backwards compat, added 2014-10-18 Solarized = vim-colors-solarized; diff --git a/pkgs/applications/editors/vim/plugins/nodePackagePlugins.nix b/pkgs/applications/editors/vim/plugins/nodePackagePlugins.nix index 6abe5ab246df..dda1db8a1ca2 100644 --- a/pkgs/applications/editors/vim/plugins/nodePackagePlugins.nix +++ b/pkgs/applications/editors/vim/plugins/nodePackagePlugins.nix @@ -26,7 +26,6 @@ let "coc-pairs" "coc-prettier" "coc-r-lsp" - "coc-rls" "coc-rust-analyzer" "coc-sh" "coc-smartf" diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index bb541a64d4c6..bbe19b3ae682 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -77,6 +77,7 @@ mapAliases { inherit (pkgs) coc-pyright; # added 2024-07-14 coc-metals = throw "coc-metals was removed because it was deprecated upstream. vimPlugins.nvim-metals is its official replacement."; # Added 2024-10-16 coc-python = throw "coc-python was removed because it was abandoned upstream on 2020-12-24. Upstream now recommends using coc-pyright or coc-jedi instead."; # added 2024-10-15 + coc-rls = throw "coc-rls was removed because rls was deprecated in 2022. You should use coc-rust-analyzer instead, as rust-analyzer is maintained."; # added 2025-10-01 inherit (pkgs) coc-toml; coc-tslint = throw "coc-tslint was removed because it was deprecated upstream; coc-eslint offers comparable features for eslint, which replaced tslint"; # Added 2024-10-18 coc-tslint-plugin = throw "coc-tslint-plugin was removed because it was deprecated upstream; coc-eslint offers comparable features for eslint, which replaced tslint"; # Added 2024-10-18 diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 1f473a018c11..993060c721cf 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -43,7 +43,6 @@ , "coc-pairs" , "coc-prettier" , "coc-r-lsp" -, "coc-rls" , "coc-rust-analyzer" , "coc-sh" , "coc-smartf" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index af270592afa0..c1c71590016c 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -48680,24 +48680,6 @@ in bypassCache = true; reconstructLock = true; }; - coc-rls = nodeEnv.buildNodePackage { - name = "coc-rls"; - packageName = "coc-rls"; - version = "1.1.6"; - src = fetchurl { - url = "https://registry.npmjs.org/coc-rls/-/coc-rls-1.1.6.tgz"; - sha512 = "/XUM5UjOtnVBHghxBtwHz6C2lWnWgF8kX2+uocc356c2Bn8msQa6mrN0lijhlpDlsomSMPkGpZiY4zS1tNakMw=="; - }; - buildInputs = globalBuildInputs; - meta = { - description = "Rust language support - code completion, Intellisense, refactoring, reformatting, errors, snippets. A client for the Rust Language Server, built by the RLS team"; - homepage = "https://github.com/neoclide/coc-rls#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; coc-rust-analyzer = nodeEnv.buildNodePackage { name = "coc-rust-analyzer"; packageName = "coc-rust-analyzer";