mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
24 lines
540 B
Nix
24 lines
540 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
# This plugin has no configuration, so we use `mkVimPlugin` without the `globalPrefix` argument to
|
|
# avoid the creation of the `settings` option.
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "texpresso";
|
|
packPathName = "texpresso.vim";
|
|
package = "texpresso-vim";
|
|
|
|
maintainers = [ maintainers.nickhu ];
|
|
|
|
extraOptions = {
|
|
texpressoPackage = lib.mkPackageOption pkgs "texpresso" {
|
|
nullable = true;
|
|
};
|
|
};
|
|
|
|
extraConfig = cfg: { extraPackages = [ cfg.texpressoPackage ]; };
|
|
}
|