mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
lib/options: add TODO regarding lua-types
`defaultNullOpts` is generally used for representing lua-options. We should probably a) rename it something like `luaOptions` and switch out the primitive types to use the new `lua-types`.
This commit is contained in:
parent
57b61e4267
commit
1d8724144c
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ rec {
|
||||||
{ type, ... }@args: mkNullOrOption' (args // { type = with types; either strLuaFn type; });
|
{ type, ... }@args: mkNullOrOption' (args // { type = with types; either strLuaFn type; });
|
||||||
mkNullOrStrLuaFnOr = type: description: mkNullOrStrLuaFnOr' { inherit type description; };
|
mkNullOrStrLuaFnOr = type: description: mkNullOrStrLuaFnOr' { inherit type description; };
|
||||||
|
|
||||||
|
# TODO: use lib.nixvim.lua-types
|
||||||
defaultNullOpts =
|
defaultNullOpts =
|
||||||
let
|
let
|
||||||
# Ensures that default is null and defaultText is not set
|
# Ensures that default is null and defaultText is not set
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue