mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-16 23:41:43 +02:00
helpers: add mkPackageOption + refactoring
This commit is contained in:
parent
66b1b099cf
commit
ff2be33445
58 changed files with 94 additions and 258 deletions
|
@ -7,11 +7,7 @@ with lib; {
|
|||
options.plugins.plantuml-syntax = {
|
||||
enable = mkEnableOption "plantuml syntax support";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.plantuml-syntax;
|
||||
description = "Plugin to use for plantuml-syntax";
|
||||
};
|
||||
package = helpers.mkPackageOption "plantuml-syntax" pkgs.vimPlugins.plantuml-syntax;
|
||||
|
||||
setMakeprg = mkOption {
|
||||
type = types.bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue