mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 01:38:40 +02:00
lib/helpers: factor out nixvimUtils
This commit is contained in:
parent
98dbe8a89b
commit
7164a89f72
3 changed files with 35 additions and 45 deletions
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
mkIf,
|
||||
mkIfNonNull,
|
||||
mkRaw,
|
||||
nixvimTypes,
|
||||
nixvimUtils,
|
||||
}:
|
||||
with lib; rec {
|
||||
with lib;
|
||||
with nixvimUtils; rec {
|
||||
# Creates an option with a nullable type that defaults to null.
|
||||
mkNullOrOption = type: desc:
|
||||
lib.mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue