nix-community.nixvim/wrappers/modules/hm.nix
Matt Sturgeon 574ae92a43
wrappers/modules: move enable to shared.nix
We may end up having additional "shared" options and/or config.
2024-10-22 12:31:56 +01:00

21 lines
405 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;
};
}