mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
docs: fix mkEnableOption usage for autogenerated documentation
This commit is contained in:
parent
5cef662ccf
commit
a2b58e17af
55 changed files with 225 additions and 333 deletions
|
|
@ -96,11 +96,8 @@ in {
|
|||
};
|
||||
|
||||
lsp = {
|
||||
enable = mkOption {
|
||||
description = "Enable Nix LSP support";
|
||||
type = types.bool;
|
||||
default = config.vim.languages.enableLSP;
|
||||
};
|
||||
enable = mkEnableOption "Enable Nix LSP support" // {default = config.vim.languages.enableLSP;};
|
||||
|
||||
server = mkOption {
|
||||
description = "Nix LSP server to use";
|
||||
type = types.str;
|
||||
|
|
@ -114,11 +111,8 @@ in {
|
|||
};
|
||||
|
||||
format = {
|
||||
enable = mkOption {
|
||||
description = "Enable Nix formatting";
|
||||
type = types.bool;
|
||||
default = config.vim.languages.enableFormat;
|
||||
};
|
||||
enable = mkEnableOption "Enable Nix formatting" // {default = config.vim.languages.enableFormat;};
|
||||
|
||||
type = mkOption {
|
||||
description = "Nix formatter to use";
|
||||
type = with types; enum (attrNames formats);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue