diff --git a/home-manager/neovim/default.nix b/home-manager/neovim/default.nix index f082aa8..41c3f74 100644 --- a/home-manager/neovim/default.nix +++ b/home-manager/neovim/default.nix @@ -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 }; } +