mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-14 13:01:12 +01:00
22 lines
521 B
Nix
22 lines
521 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types;
|
|
in
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "goyo";
|
|
package = "goyo-vim";
|
|
globalPrefix = "goyo_";
|
|
description = "Distraction-free writing in Vim.";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
settingsOptions = {
|
|
width = lib.nixvim.mkNullOrOption types.ints.unsigned "width";
|
|
|
|
height = lib.nixvim.mkNullOrOption types.ints.unsigned "height";
|
|
|
|
linenr = lib.nixvim.defaultNullOpts.mkFlagInt 0 ''
|
|
Show line numbers when in Goyo mode.
|
|
'';
|
|
};
|
|
}
|