nix-community.nixvim/plugins/languages/texpresso.nix

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

26 lines
583 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.
helpers.vim-plugin.mkVimPlugin {
2024-04-26 10:47:59 +02:00
name = "texpresso";
originalName = "texpresso.vim";
defaultPackage = pkgs.vimPlugins.texpresso-vim;
maintainers = [ maintainers.nickhu ];
extraOptions = {
texpressoPackage = helpers.mkPackageOption {
name = "texpresso";
2024-04-26 10:47:59 +02:00
default = pkgs.texpresso;
};
2024-05-05 19:39:35 +02:00
};
2024-04-26 10:47:59 +02:00
extraConfig = cfg: { extraPackages = [ cfg.texpressoPackage ]; };
}