feat: move non-nixpkgs neovim plugins to flake

This commit is contained in:
Felix Schröter 2021-06-10 12:48:11 +02:00
parent 713e507298
commit c674d09974
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 64 additions and 28 deletions
home/editors/neovim

View file

@ -1,30 +1,6 @@
{ config, pkgs, ... }:
let
buildVimPluginFrom2Nix = pkgs.vimUtils.buildVimPluginFrom2Nix;
nvim-ts-autotag = buildVimPluginFrom2Nix {
pname = "nvim-ts-autotag";
version = "2021-05-09";
src = pkgs.fetchFromGitHub {
owner = "windwp";
repo = "nvim-ts-autotag";
rev = "cb2d352bebaa21c7bed2dc2534d7094e83753e83";
sha256 = "0ph9v5k3q89rcpakaga5vw1lijmfi7018f9ffg9lr3yl9k8d974c";
};
};
nvim-ts-context-commentstring = buildVimPluginFrom2Nix {
pname = "nvim-ts-context-commentstring";
version = "2021-04-17";
src = pkgs.fetchFromGitHub {
owner = "JoosepAlviste";
repo = "nvim-ts-context-commentstring";
rev = "03a9c64d0b4249d91fd371de48bf3f6ac8a22d33";
sha256 = "1d4yygrz05vnp24bszwncajcksnkg66x0qks7y5398rr675kzl2g";
};
};
vimLua = lua: ''
lua << EOF
${lua}