nix-community.nixvim/plugins/by-name/texpresso/default.nix
2024-12-22 10:04:17 +00:00

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 ]; };
}