mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
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.
22 lines
445 B
Nix
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";
|
|
};
|
|
}
|