docs: fix mkEnableOption usage for autogenerated documentation

This commit is contained in:
NotAShelf 2023-06-05 23:10:25 +03:00
commit a2b58e17af
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
55 changed files with 225 additions and 333 deletions

View file

@ -1,17 +1,9 @@
{
lib,
config,
...
}:
{lib, ...}:
with lib;
with builtins; {
options.vim = {
autopairs = {
enable = mkOption {
type = types.bool;
default = false;
description = "Enable autopairs";
};
enable = mkEnableOption "autopairs" // {default = false;};
type = mkOption {
type = types.enum ["nvim-autopairs"];