mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-08 20:06:25 +02:00
Fixed mkRenamedOption
This commit is contained in:
parent
57eb1c09a9
commit
65fdfdc0eb
2 changed files with 61 additions and 8 deletions
|
@ -8,8 +8,14 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
(optionWarnings.mkRenamedOption (basePluginPath ++ [ "updatedCwd" ]) (basePluginPath ++ [ "syncRootWithCwd" ]))
|
||||
(optionWarnings.mkRenamedOption (basePluginPath ++ [ "updateFocusedFile" "updatedCwd" ]) (basePluginPath ++ [ "updateFocusedFile" "updateRoot" ]))
|
||||
(optionWarnings.mkRenamedOption {
|
||||
option = basePluginPath ++ [ "updateCwd" ];
|
||||
newOption = basePluginPath ++ [ "syncRootWithCwd" ];
|
||||
})
|
||||
(optionWarnings.mkRenamedOption {
|
||||
option = basePluginPath ++ [ "updateFocusedFile" "updatedCwd" ];
|
||||
newOption = basePluginPath ++ [ "updateFocusedFile" "updateRoot" ];
|
||||
})
|
||||
];
|
||||
|
||||
options.plugins.nvim-tree = {
|
||||
|
@ -231,7 +237,7 @@ in
|
|||
auto_close = cfg.autoClose;
|
||||
open_on_tab = cfg.openOnTab;
|
||||
hijack_cursor = cfg.hijackCursor;
|
||||
sync_root_with_ced = cfg.syncRootWithCwd;
|
||||
sync_root_with_cwd = cfg.syncRootWithCwd;
|
||||
respect_buf_cwd = cfg.respectBufCwd;
|
||||
update_to_buf_dir = {
|
||||
enable = cfg.updateToBufDir.enable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue