nix-community.nixvim/wrappers/modules/hm.nix
Matt Sturgeon b076f006c6
wrappers: add meta.wrappers options to wrappers
Allows the docs to be a little less hard-coded.

Lays the groundwork for splitting up the platform-specific option docs
on a per-page basis.
2024-10-22 14:15:58 +01:00

22 lines
445 B
Nix

{ lib, ... }:
{
options = {
defaultEditor = lib.mkEnableOption "nixvim as the default editor";
vimdiffAlias = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Alias `vimdiff` to `nvim -d`.
'';
};
};
imports = [ ./shared.nix ];
config = {
wrapRc = lib.mkOptionDefault false;
impureRtp = lib.mkOptionDefault true;
meta.wrapper.name = "home-manager";
};
}