mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -5,7 +5,8 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
with lib;
|
||||
{
|
||||
options.plugins.netman = {
|
||||
enable = mkEnableOption "netman.nvim, a framework to access remote resources";
|
||||
|
||||
|
@ -14,15 +15,16 @@ with lib; {
|
|||
neoTreeIntegration = mkEnableOption "support for netman as a neo-tree source";
|
||||
};
|
||||
|
||||
config = let
|
||||
cfg = config.plugins.netman;
|
||||
in
|
||||
config =
|
||||
let
|
||||
cfg = config.plugins.netman;
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
extraPlugins = [ cfg.package ];
|
||||
extraConfigLua = ''
|
||||
require("netman")
|
||||
'';
|
||||
|
||||
plugins.neo-tree.extraSources = mkIf cfg.neoTreeIntegration ["netman.ui.neo-tree"];
|
||||
plugins.neo-tree.extraSources = mkIf cfg.neoTreeIntegration [ "netman.ui.neo-tree" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue