mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
wrappers: cleanup with lib
This commit is contained in:
parent
1c9ba58aef
commit
c76e5070b9
1 changed files with 3 additions and 4 deletions
|
@ -1,11 +1,10 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
with lib;
|
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
defaultEditor = mkEnableOption "nixvim as the default editor";
|
defaultEditor = lib.mkEnableOption "nixvim as the default editor";
|
||||||
|
|
||||||
vimdiffAlias = mkOption {
|
vimdiffAlias = lib.mkOption {
|
||||||
type = types.bool;
|
type = lib.types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Alias `vimdiff` to `nvim -d`.
|
Alias `vimdiff` to `nvim -d`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue