feat(neovim): add pre-commit.nvim

This commit is contained in:
Michael Mandl 2022-08-05 14:25:44 +02:00
parent a8113c6221
commit 851ef0ffe1
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -23,6 +23,16 @@ let
};
meta.homepage = "https://git.sr.ht/~whynothugo/lsp_lines.nvim";
};
pre-commit-nvim = pkgs.vimUtils.buildVimPlugin {
name = "pre-commit.nvim";
version = "2022-08-05";
src = pkgs.fetchgit {
url = "https://github.com/Ttibsi/pre-commit.nvim";
rev = "4a608cef0f0a196fa39cdc60579eb9cf601d21c4";
sha256 = "Y0biF/yrOX1YYztj8/u0n8zPN4YLGLSQL3vb9I3+3dE=";
};
meta.homepage = "https://github.com/Ttibsi/pre-commit.nvim";
};
in
{
home.packages = with pkgs; [
@ -71,6 +81,7 @@ in
plenary-nvim
vim-illuminate
registers-nvim
pre-commit-nvim
# git
gitsigns-nvim
@ -138,3 +149,4 @@ in
};
}