helpers/vim-plugin/mkVimPlugin: simplify code

This commit is contained in:
Gaetan Lepage 2024-03-15 00:26:18 +01:00 committed by Gaétan Lepage
parent 75942bc161
commit 9f7c78852f

View file

@ -38,10 +38,7 @@ with lib; {
cfg = config.${namespace}.${name}; cfg = config.${namespace}.${name};
globals = globals = cfg.settings or {};
if (hasAttr "settings" cfg) && (cfg.settings != null)
then cfg.settings
else {};
# does this evaluate package? # does this evaluate package?
packageOption = packageOption =