Merge pull request #312311 from gepbird/middleclass-fix

vimPlugins.middleclass: build from lua package; vimPlugins.{animation,windows}-nvim: fix deps
This commit is contained in:
Matthieu Coudron 2024-08-23 17:46:06 +02:00 committed by GitHub
commit 0f40abe5b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,6 +143,11 @@
dependencies = with super; [ telescope-nvim vim-fugitive vim-rhubarb ];
};
animation-nvim = super.animation-nvim.overrideAttrs {
dependencies = with self; [ middleclass ];
nvimRequireCheck = "animation";
};
autosave-nvim = super.autosave-nvim.overrideAttrs {
dependencies = with super; [ plenary-nvim ];
};
@ -1080,6 +1085,11 @@
meta.maintainers = with lib.maintainers; [ vcunat ];
};
middleclass = neovimUtils.buildNeovimPlugin {
luaAttr = "middleclass";
nvimRequireCheck = "middleclass";
};
minimap-vim = super.minimap-vim.overrideAttrs {
preFixup = ''
substituteInPlace $out/plugin/minimap.vim \
@ -2107,7 +2117,8 @@
};
windows-nvim = super.windows-nvim.overrideAttrs {
dependencies = with self; [ luaPackages.middleclass animation-nvim ];
dependencies = with self; [ middleclass animation-nvim ];
nvimRequireCheck = "windows";
};
wtf-nvim = super.wtf-nvim.overrideAttrs {