mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
plugins/utils/nvim-tree: marked setup options as deprecated (#160)
This commit is contained in:
parent
12bdded4db
commit
337e4c735b
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue