overlays: add gruvbox-nvim-treesitter-fix
The version in nixpkgs is not up-to-date with regards to the nvim-treesitter breaking changes that were recently introduced.
This commit is contained in:
parent
9e0930aca4
commit
d6eceea08a
4
overlays/gruvbox-nvim-treesitter-fix/default.nix
Normal file
4
overlays/gruvbox-nvim-treesitter-fix/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
self: prev:
|
||||||
|
{
|
||||||
|
vimPlugins = prev.vimPlugins.extend (self.callPackage ./generated.nix { });
|
||||||
|
}
|
14
overlays/gruvbox-nvim-treesitter-fix/generated.nix
Normal file
14
overlays/gruvbox-nvim-treesitter-fix/generated.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ fetchFromGitHub }:
|
||||||
|
|
||||||
|
_final: prev: {
|
||||||
|
gruvbox-nvim = prev.gruvbox-nvim.overrideAttrs (_: {
|
||||||
|
version = "2024-01-29";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ellisonleao";
|
||||||
|
repo = "gruvbox.nvim";
|
||||||
|
rev = "6e4027ae957cddf7b193adfaec4a8f9e03b4555f";
|
||||||
|
sha256 = "sha256-jWnrRy/PT7D0UcPGL+XTbKHWvS0ixvbyqPtTzG9HY84=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in a new issue