mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +02:00
ledger: init plugin
This commit is contained in:
parent
c3fc078107
commit
5ffa2b4543
4 changed files with 37 additions and 2 deletions
|
@ -87,10 +87,10 @@ rec {
|
|||
(if val == false then 0 else 1)
|
||||
else val;
|
||||
|
||||
mkDefaultOpt = { type, global, description ? null, example ? null, value ? v: toLuaObject (globalVal v), ... }: {
|
||||
mkDefaultOpt = { type, global, description ? null, example ? null, default ? null, value ? v: toLuaObject (globalVal v), ... }: {
|
||||
option = mkOption {
|
||||
type = types.nullOr type;
|
||||
default = null;
|
||||
default = default;
|
||||
description = description;
|
||||
example = example;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue