lib/plugins: organise plugin-factory functions in a subdir

This commit is contained in:
Matt Sturgeon 2024-12-18 21:03:45 +00:00
parent 6a4b4221c4
commit 88a1c1b46a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
4 changed files with 28 additions and 2 deletions

12
lib/plugins/default.nix Normal file
View file

@ -0,0 +1,12 @@
{ call }:
let
neovim = call ./neovim.nix { };
vim = call ./vim.nix { };
in
# TODO: be a bit more deliberate
# NOTE: remove the overridable stuff from `call`;
# I don't want to think about how (a // b) interacts with them yet
builtins.removeAttrs (neovim // vim) [
"override"
"overrideDerivation"
]