diff --git a/modules/wrapper/rc/config.nix b/modules/wrapper/rc/config.nix index 6aa0b61..6c1936e 100644 --- a/modules/wrapper/rc/config.nix +++ b/modules/wrapper/rc/config.nix @@ -74,7 +74,7 @@ in { // mapAttrs (_: legacyMap: legacyMap // {mode = namedModes.lang;}) cfg.maps.lang // mapAttrs (_: legacyMap: legacyMap // {mode = namedModes.command;}) cfg.maps.command; - keymaps = concatLines (map toLuaKeymap (attrsToList (filterNonNull maps))); + keymaps = concatLines (map toLuaKeymap (attrsToList (filterAttrs (_: value: value != null) maps))); in { vim = { luaConfigRC = {