mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/lsp/gopls: add goPackage
This commit is contained in:
parent
5660c4011c
commit
2df1bdd14d
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue