plugins: fix "int flag" style options

This commit is contained in:
Matt Sturgeon 2024-09-08 13:52:18 +01:00
parent 555035ef79
commit ec61ca9b08
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
27 changed files with 168 additions and 168 deletions

View file

@ -32,13 +32,13 @@ mkVimPlugin {
];
settingsOptions = {
fmt_autosave = helpers.defaultNullOpts.mkBool true ''
fmt_autosave = helpers.defaultNullOpts.mkFlagInt 1 ''
This plugin enables automatic code formatting on save by default using zig fmt.
To disable it, you can set this option to `false`.
To disable it, you can set this option to `0`.
'';
};
settingsExample = {
fmt_autosave = false;
fmt_autosave = 0;
};
}