mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Allow to add meta options like maintainers (#836)
This commit is contained in:
parent
189ae51b02
commit
2871dc94b4
4 changed files with 12 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
|||
};
|
||||
}
|
||||
|
||||
(pkgs.path + "/nixos/modules/misc/meta.nix")
|
||||
# ./plugins/default.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{lib, ...}:
|
||||
with lib; rec {
|
||||
maintainers = import ./maintainers.nix;
|
||||
keymaps = import ./keymap-helpers.nix {inherit lib;};
|
||||
autocmd = import ./autocmd-helpers.nix {inherit lib;};
|
||||
|
||||
|
|
8
lib/maintainers.nix
Normal file
8
lib/maintainers.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Nixvim maintainers
|
||||
#
|
||||
# This attribute set contains Nixvim maintainers that do not
|
||||
# have an entry in the Nixpkgs maintainer list. Entries are
|
||||
# expected to follow the same format as that list.
|
||||
#
|
||||
# Nixpkgs maintainers: https://github.com/NixOS/nixpkgs/blob/0212bde005b3335b2665c1476c36b3936e113b15/maintainers/maintainer-list.nix
|
||||
{}
|
|
@ -6,6 +6,8 @@
|
|||
...
|
||||
}:
|
||||
with lib; {
|
||||
meta.maintainers = [maintainers.traxys];
|
||||
|
||||
options.plugins.gitmessenger = {
|
||||
enable = mkEnableOption "gitmessenger";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue