mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +02:00
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.
21 lines
420 B
Nix
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";
|
|
};
|
|
}
|