diff options
author | mediocregopher <mediocregopher@gmail.com> | 2021-10-04 13:50:54 -0600 |
---|---|---|
committer | mediocregopher <mediocregopher@gmail.com> | 2021-10-05 22:00:58 -0600 |
commit | e14e8f0ef9096cee48319330be63303b2413e338 (patch) | |
tree | 894a56ae1536541dfa787d34dc791bbb410614e9 /nvim/default.nix | |
parent | cb90adf002cea2fe73047bf7b0c5183f76babe44 (diff) |
setup misspell
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 ]; }; |