mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
modules/dependencies: add texpresso
This commit is contained in:
parent
07c767cd2f
commit
090c4e0f7c
2 changed files with 11 additions and 8 deletions
|
@ -19,6 +19,7 @@ let
|
|||
default = "nodejs";
|
||||
example = "pkgs.nodejs_22";
|
||||
};
|
||||
texpresso.default = "texpresso";
|
||||
tree-sitter.default = "tree-sitter";
|
||||
typst.default = "typst";
|
||||
ueberzug.default = "ueberzugpp";
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
@ -14,11 +12,15 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
|
||||
extraOptions = {
|
||||
texpressoPackage = lib.mkPackageOption pkgs "texpresso" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
# TODO: added 2025-04-07, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "texpresso";
|
||||
packageName = "texpresso";
|
||||
})
|
||||
];
|
||||
|
||||
extraConfig = cfg: { extraPackages = [ cfg.texpressoPackage ]; };
|
||||
extraConfig = {
|
||||
dependencies.texpresso.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue