mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-05 23:04:31 +02:00
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
27 lines
604 B
Nix
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" ];
|
|
};
|
|
}
|