1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-24 01:41:14 +01:00

plugins/lsp: drop customCmd

These have all been upstreamed into nvim-lspconfig. Going forward, we
should continue that trend.

If any nix-specific `cmd`s aren't accepted in nvim-lspconfig, they can
be patched in Nixpkgs instead.
This commit is contained in:
Matt Sturgeon 2025-12-15 10:47:49 +00:00
parent b671eedcf4
commit 882eb84c35
4 changed files with 10 additions and 45 deletions

View file

@ -60,19 +60,10 @@ let
default = { };
};
# Combine `packages` and `customCmd` sets from `packages.nix`
# We use this set to generate the package-option defaults
serverPackages =
let
inherit (import ./packages.nix)
packages
customCmd
;
in
builtins.mapAttrs (name: v: {
inherit name;
package = v.package or v;
}) (packages // customCmd);
# Read package-option defaults from `packages.nix`
serverPackages = builtins.mapAttrs (name: package: {
inherit name package;
}) (import ./packages.nix).packages;
in
{
options.lsp = {