overlays: add 'gruvbox-nvim-delimiters'
To fix [1] and [2] until the plug-in gets bumped. [1]: https://github.com/ellisonleao/gruvbox.nvim/issues/335 [2]: https://github.com/ellisonleao/gruvbox.nvim/issues/340
This commit is contained in:
parent
9e89b4dd36
commit
ccab4d0952
4
overlays/gruvbox-nvim-delimiters/default.nix
Normal file
4
overlays/gruvbox-nvim-delimiters/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
self: prev:
|
||||||
|
{
|
||||||
|
vimPlugins = prev.vimPlugins.extend (self.callPackage ./generated.nix { });
|
||||||
|
}
|
14
overlays/gruvbox-nvim-delimiters/generated.nix
Normal file
14
overlays/gruvbox-nvim-delimiters/generated.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ fetchpatch, ... }:
|
||||||
|
|
||||||
|
_final: prev: {
|
||||||
|
gruvbox-nvim = prev.gruvbox-nvim.overrideAttrs (oa: {
|
||||||
|
patches = (oa.patches or [ ]) ++ [
|
||||||
|
# https://github.com/ellisonleao/gruvbox.nvim/pull/319
|
||||||
|
(fetchpatch {
|
||||||
|
name = "add-Delimiter-highlight-group.patch";
|
||||||
|
url = "https://github.com/ellisonleao/gruvbox.nvim/commit/20f90039564b293330bf97acc36dda8dd9e721a0.patch";
|
||||||
|
hash = "sha256-it4SbgK/2iDVyvtXBfVW2YN9DqELfKsMkuCaunERGcE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in a new issue