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";
|
default = "nodejs";
|
||||||
example = "pkgs.nodejs_22";
|
example = "pkgs.nodejs_22";
|
||||||
};
|
};
|
||||||
|
texpresso.default = "texpresso";
|
||||||
tree-sitter.default = "tree-sitter";
|
tree-sitter.default = "tree-sitter";
|
||||||
typst.default = "typst";
|
typst.default = "typst";
|
||||||
ueberzug.default = "ueberzugpp";
|
ueberzug.default = "ueberzugpp";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
helpers,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
|
@ -14,11 +12,15 @@ lib.nixvim.plugins.mkVimPlugin {
|
||||||
|
|
||||||
maintainers = [ maintainers.nickhu ];
|
maintainers = [ maintainers.nickhu ];
|
||||||
|
|
||||||
extraOptions = {
|
imports = [
|
||||||
texpressoPackage = lib.mkPackageOption pkgs "texpresso" {
|
# TODO: added 2025-04-07, remove after 25.05
|
||||||
nullable = true;
|
(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