mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 16:45:07 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue