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:
parent
b671eedcf4
commit
882eb84c35
4 changed files with 10 additions and 45 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue