blob: 2e9d8ca825cc0594bf1349977ba2dc6da36eb30b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{lib}: let
inherit (lib.options) mkEnableOption;
mkFormatterPresetEnableOption = {
option,
display,
extra ? "",
}:
mkEnableOption ''
the ${display} formatter.
${extra}
Use `vim.formatter.conform-nvim.setupOpts.formatters.${option}` for customization
'';
in {
inherit mkFormatterPresetEnableOption;
}
|