fix: linter

This commit is contained in:
punkfairie 2024-12-09 20:18:54 -08:00
parent b36b69c4de
commit 39eb7cd853
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -60,7 +60,7 @@
}; };
flake = { flake = {
overlays.default = final: prev: let overlays.default = final: prev: let
lib = final.lib; inherit (final) lib;
in { in {
mk-luarc = { mk-luarc = {
# list of plugins that have a /lua directory # list of plugins that have a /lua directory
@ -73,12 +73,7 @@
disabled-diagnostics ? [], disabled-diagnostics ? [],
}: let }: let
pluginPackages = pluginPackages =
map ( map (x: x.plugin or x)
x:
if x ? plugin
then x.plugin
else x
)
plugins; plugins;
partitions = builtins.partition (plugin: partitions = builtins.partition (plugin:
plugin.vimPlugin plugin.vimPlugin