1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-18 00:12:48 +01:00
nixvim/plugins/by-name/goyo/default.nix
saygo-png 29ec33e1a8 plugins: remove deprecations "after 24.11" or less
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-18 18:31:00 +00:00

25 lines
509 B
Nix

{
lib,
helpers,
...
}:
with lib.nixvim.plugins;
with lib;
mkVimPlugin {
name = "goyo";
package = "goyo-vim";
globalPrefix = "goyo_";
description = "Distraction-free writing in Vim.";
maintainers = [ maintainers.GaetanLepage ];
settingsOptions = {
width = helpers.mkNullOrOption types.ints.unsigned "width";
height = helpers.mkNullOrOption types.ints.unsigned "height";
linenr = helpers.defaultNullOpts.mkFlagInt 0 ''
Show line numbers when in Goyo mode.
'';
};
}