From 6755f98df9b603a3323eaa76a1b7d80859868b8b Mon Sep 17 00:00:00 2001 From: Rohan Ghige Date: Sat, 14 May 2022 16:21:17 +0530 Subject: [PATCH] [FIX] nvim-tree warnings --- lua/user/nvim-tree.lua | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua index 9c5170c..a994350 100644 --- a/lua/user/nvim-tree.lua +++ b/lua/user/nvim-tree.lua @@ -42,7 +42,6 @@ nvim_tree.setup { "dashboard", "alpha", }, - auto_close = true, open_on_tab = false, hijack_cursor = false, update_cwd = true, @@ -98,15 +97,12 @@ nvim_tree.setup { cmd = "trash", require_confirm = true, }, - quit_on_open = 0, - git_hl = 1, - disable_window_picker = 0, - root_folder_modifier = ":t", - show_icons = { - git = 1, - folders = 1, - files = 1, - folder_arrows = 1, - tree_width = 30, + actions = { + open_file = { + quit_on_open = false, + window_picker = { + enable = false, + }, + }, }, }