diff options
Diffstat (limited to 'nvim/default.nix')
-rw-r--r-- | nvim/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nvim/default.nix b/nvim/default.nix index d6d4a94..83dd87c 100644 --- a/nvim/default.nix +++ b/nvim/default.nix @@ -15,6 +15,21 @@ subPackages = [ "cmd/goimports" ]; }; + misspell = pkgs.buildGoPackage rec { + pname = "misspell"; + version = "0.3.4"; + goPackagePath = "github.com/client9/misspell"; + + src = pkgs.fetchFromGitHub { + owner = "client9"; + repo = "misspell"; + rev = "v${version}"; + sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs"; + }; + + goDeps = ./misspellDeps.nix; + }; + # the gocode-gomod which comes with nixpkgs places the binary at # gocode-gomod, we gotta rename it gocode = pkgs.stdenv.mkDerivation { @@ -45,6 +60,7 @@ pkgs.gopls gocode goimports + misspell ]; }; |