nix-community.nixvim/plugins/by-name/netman/default.nix
osbm a41559f093
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
treewide: add plugin descriptions
2025-06-24 06:10:11 +00:00

27 lines
604 B
Nix

{
lib,
...
}:
lib.nixvim.plugins.mkNeovimPlugin {
name = "netman";
packPathName = "netman.nvim";
package = "netman-nvim";
description = "Neovim (Lua powered) Network Resource Manager.";
hasSettings = false;
callSetup = false;
maintainers = [ lib.maintainers.khaneliman ];
extraOptions = {
neoTreeIntegration = lib.mkEnableOption "support for netman as a neo-tree source";
};
extraConfig = cfg: {
plugins.netman.luaConfig.content = ''
require("netman")
'';
plugins.neo-tree.extraSources = lib.mkIf cfg.neoTreeIntegration [ "netman.ui.neo-tree" ];
};
}