nix-community.nixvim/plugins/by-name/hmts/default.nix
Austin Horstman a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00

21 lines
420 B
Nix

{
lib,
config,
...
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "hmts";
packPathName = "hmts.nvim";
package = "hmts-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];
callSetup = false;
hasSettings = false;
hasLuaConfig = false;
extraConfig = {
warnings = lib.optional (
!config.plugins.treesitter.enable
) "Nixvim: hmts needs treesitter to function as intended";
};
}