diff --git a/nixvim.nix b/nixvim.nix index 729b1833..653a4e25 100644 --- a/nixvim.nix +++ b/nixvim.nix @@ -1,5 +1,5 @@ { nixos ? false, nixOnDroid ? false, homeManager ? false }: -{ pkgs , lib, config, ... }: +{ pkgs, lib, config, ... }: with lib; let cfg = config.programs.nixvim; @@ -23,63 +23,66 @@ let }; }; - mapOption = types.oneOf [ types.str (types.submodule { - options = { - silent = mkOption { - type = types.bool; - description = "Whether this mapping should be silent. Equivalent to adding to a map."; - default = false; - }; + mapOption = types.oneOf [ + types.str + (types.submodule { + options = { + silent = mkOption { + type = types.bool; + description = "Whether this mapping should be silent. Equivalent to adding to a map."; + default = false; + }; - nowait = mkOption { - type = types.bool; - description = "Whether to wait for extra input on ambiguous mappings. Equivalent to adding to a map."; - default = false; - }; + nowait = mkOption { + type = types.bool; + description = "Whether to wait for extra input on ambiguous mappings. Equivalent to adding to a map."; + default = false; + }; - script = mkOption { - type = types.bool; - description = "Equivalent to adding