treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -7,35 +7,43 @@
}:
with helpers.vim-plugin;
with lib;
mkVimPlugin config {
name = "goyo";
originalName = "goyo.vim";
defaultPackage = pkgs.vimPlugins.goyo-vim;
globalPrefix = "goyo_";
mkVimPlugin config {
name = "goyo";
originalName = "goyo.vim";
defaultPackage = pkgs.vimPlugins.goyo-vim;
globalPrefix = "goyo_";
maintainers = [maintainers.GaetanLepage];
maintainers = [ maintainers.GaetanLepage ];
# TODO introduced 2024-03-01: remove 2024-05-01
deprecateExtraConfig = true;
optionsRenamedToSettings = [
"width"
"height"
];
imports = [
(
mkRenamedOptionModule
["plugins" "goyo" "showLineNumbers"]
["plugins" "goyo" "settings" "linenr"]
)
];
# TODO introduced 2024-03-01: remove 2024-05-01
deprecateExtraConfig = true;
optionsRenamedToSettings = [
"width"
"height"
];
imports = [
(mkRenamedOptionModule
[
"plugins"
"goyo"
"showLineNumbers"
]
[
"plugins"
"goyo"
"settings"
"linenr"
]
)
];
settingsOptions = {
width = helpers.mkNullOrOption types.ints.unsigned "width";
settingsOptions = {
width = helpers.mkNullOrOption types.ints.unsigned "width";
height = helpers.mkNullOrOption types.ints.unsigned "height";
height = helpers.mkNullOrOption types.ints.unsigned "height";
linenr = helpers.defaultNullOpts.mkBool false ''
Show line numbers when in Goyo mode.
'';
};
}
linenr = helpers.defaultNullOpts.mkBool false ''
Show line numbers when in Goyo mode.
'';
};
}