fix: renamed option as setupOpts

This commit is contained in:
Ching Pei Yang 2024-04-19 21:11:22 +02:00
parent 99fd8c9eb6
commit bea3b43733

View file

@ -34,12 +34,6 @@ in {
}; };
}; };
disableNetrw = mkOption {
default = false;
description = "Disables netrw and replaces it with tree";
type = bool;
};
setupOpts = mkPluginSetupOption "Nvim Tree" { setupOpts = mkPluginSetupOption "Nvim Tree" {
hijack_netrw = mkOption { hijack_netrw = mkOption {
default = true; default = true;
@ -47,6 +41,12 @@ in {
type = bool; type = bool;
}; };
disable_netrw = mkOption {
default = false;
description = "Disables netrw and replaces it with tree";
type = bool;
};
auto_reload_on_write = mkOption { auto_reload_on_write = mkOption {
default = true; default = true;
description = "Auto reload tree on write"; description = "Auto reload tree on write";