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";
|
2024-12-13 08:27:14 -06:00
|
|
|
packPathName = "texpresso.vim";
|
2024-09-02 14:05:11 +01:00
|
|
|
package = "texpresso-vim";
|
2024-04-26 10:47:59 +02:00
|
|
|
|
|
|
|
maintainers = [ maintainers.nickhu ];
|
|
|
|
|
|
|
|
extraOptions = {
|
2024-09-03 15:40:46 +01:00
|
|
|
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 ]; };
|
|
|
|
}
|