mkNeovimPlugin: refactor lua code generation logic

This commit is contained in:
Gaetan Lepage 2024-12-09 20:40:02 +01:00 committed by nix-infra-bot
parent f2a991ae8c
commit cf7e026c8c
3 changed files with 18 additions and 14 deletions

View file

@ -48,8 +48,7 @@ helpers.neovim-plugin.mkNeovimPlugin {
};
callSetup = false;
hasConfigAttrs = false;
configLocation = null;
hasLuaConfig = false;
extraConfig =
cfg:
mkMerge [