From 3697687cbbe82357008bdbe4b51191b2f54930d1 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 31 Jan 2023 11:53:11 +0100 Subject: [PATCH] plugins/utils/nvim-tree: marked setup options as deprecated --- plugins/utils/nvim-tree.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/utils/nvim-tree.nix b/plugins/utils/nvim-tree.nix index 23fd3c0e..bbf00019 100644 --- a/plugins/utils/nvim-tree.nix +++ b/plugins/utils/nvim-tree.nix @@ -16,6 +16,14 @@ in option = basePluginPath ++ [ "updateFocusedFile" "updateCwd" ]; newOption = basePluginPath ++ [ "updateFocusedFile" "updateRoot" ]; }) + (optionWarnings.mkDeprecatedOption { + option = basePluginPath ++ [ "openOnSetup" ]; + alternative = []; + }) + (optionWarnings.mkDeprecatedOption { + option = basePluginPath ++ [ "ignoreFtOnSetup" ]; + alternative = []; + }) ]; options.plugins.nvim-tree = { @@ -35,12 +43,14 @@ in description = "Hijack netrw"; }; + # deprecated openOnSetup = mkOption { type = types.nullOr types.bool; default = null; description = "Open on setup"; }; + # deprecated ignoreFtOnSetup = mkOption { type = types.nullOr (types.listOf types.str); default = null;