ordering of types

This commit is contained in:
sjcobb 2025-07-14 01:15:39 +01:00
commit e0cd56f39e
29 changed files with 54 additions and 54 deletions

View file

@ -74,23 +74,23 @@ in {
enable = mkEnableOption "OCaml LSP support" // {default = config.vim.lsp.enable;};
servers = mkOption {
description = "OCaml LSP server to use";
type = listOf (enum (attrNames servers));
default = defaultServers;
description = "OCaml LSP server to use";
};
};
format = {
enable = mkEnableOption "OCaml formatting support (ocamlformat)" // {default = config.vim.languages.enableFormat;};
type = mkOption {
description = "OCaml formatter to use";
type = enum (attrNames formats);
default = defaultFormat;
description = "OCaml formatter to use";
};
package = mkOption {
description = "OCaml formatter package";
type = package;
default = formats.${cfg.format.type}.package;
description = "OCaml formatter package";
};
};
};