nix-community.nixvim/plugins/by-name/texpresso/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
540 B
Nix
Raw Normal View History

2024-04-26 10:47:59 +02:00
{
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.
2024-12-22 09:58:27 +00:00
lib.nixvim.plugins.mkVimPlugin {
2024-04-26 10:47:59 +02:00
name = "texpresso";
packPathName = "texpresso.vim";
package = "texpresso-vim";
2024-04-26 10:47:59 +02:00
maintainers = [ maintainers.nickhu ];
extraOptions = {
texpressoPackage = lib.mkPackageOption pkgs "texpresso" {
nullable = true;
2024-04-26 10:47:59 +02:00
};
2024-05-05 19:39:35 +02:00
};
2024-04-26 10:47:59 +02:00
extraConfig = cfg: { extraPackages = [ cfg.texpressoPackage ]; };
}