modules/opts: add default value to g and opt
This commit is contained in:
parent
1f0c0b5cb0
commit
8b0bc33653
1 changed files with 2 additions and 0 deletions
|
@ -4,9 +4,11 @@
|
|||
options.vim = with lib; with types; {
|
||||
g = mkOption {
|
||||
type = attrsOf (oneOf [ str bool number ]);
|
||||
default = { };
|
||||
};
|
||||
opt = mkOption {
|
||||
type = attrsOf anything;
|
||||
default = { };
|
||||
description = ''
|
||||
A special interface |vim.opt| exists for conveniently interacting with list-
|
||||
and map-style option from Lua: It allows accessing them as Lua tables and
|
||||
|
|
Loading…
Reference in a new issue