1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 15:32:48 +01:00
nixvim/plugins/by-name/netman/default.nix
2025-10-11 13:00:53 +00:00

26 lines
576 B
Nix

{
lib,
...
}:
lib.nixvim.plugins.mkNeovimPlugin {
name = "netman";
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.settings.sources = lib.mkIf cfg.neoTreeIntegration [ "netman.ui.neo-tree" ];
};
}