nix-community.nixvim/plugins/by-name/goyo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
694 B
Nix
Raw Normal View History

{
lib,
helpers,
...
}:
2024-12-22 09:58:27 +00:00
with lib.nixvim.plugins;
with lib;
mkVimPlugin {
name = "goyo";
packPathName = "goyo.vim";
package = "goyo-vim";
globalPrefix = "goyo_";
maintainers = [ maintainers.GaetanLepage ];
# TODO introduced 2024-03-01: remove 2024-05-01
deprecateExtraConfig = true;
optionsRenamedToSettings = [
"width"
"height"
{
old = "showLineNumbers";
new = "linenr";
}
];
2021-02-11 15:35:38 +00:00
settingsOptions = {
width = helpers.mkNullOrOption types.ints.unsigned "width";
2021-02-11 15:35:38 +00:00
height = helpers.mkNullOrOption types.ints.unsigned "height";
2021-02-11 15:35:38 +00:00
2024-09-08 13:52:18 +01:00
linenr = helpers.defaultNullOpts.mkFlagInt 0 ''
Show line numbers when in Goyo mode.
'';
};
}