mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-02 18:24:51 -05:00
All helpers eventually go through `mkNullOrOption`, so we can move where `pluginDefault` is handled there. Added a private helper `processNixvimArgs` that can be used by any future helper that needs to call `lib.mkOption` directly. It might make sense to offer a `helpers.mkOption` which simply wraps `lib.mkOption` but with support for custom args like `pluginDefault`?