1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

plugins/lsp/gopls: add goPackage

This commit is contained in:
Austin Horstman 2024-09-18 21:17:58 -05:00
parent 5660c4011c
commit 2df1bdd14d
No known key found for this signature in database

View file

@ -197,6 +197,14 @@ let
{
name = "gopls";
description = "gopls for Go";
extraOptions = {
goPackage = lib.mkPackageOption pkgs "go" {
nullable = true;
};
};
extraConfig = cfg: {
extraPackages = [ cfg.goPackage ];
};
}
{
name = "golangci-lint-ls";