summaryrefslogtreecommitdiff
path: root/lua/user/nvim-tree.lua
diff options
context:
space:
mode:
authorChristian Chiarulli <chris.machine@pm.me>2022-05-23 14:08:05 -0400
committerGitHub <noreply@github.com>2022-05-23 14:08:05 -0400
commit24e1856862e859b60cd5b38fa6befa00f75de89a (patch)
treee59f33031aa49087be668a09b8e7230721911cee /lua/user/nvim-tree.lua
parent83357089dd90eda107f6eac21dd327dd1f483370 (diff)
parent219abb0e6866a6f33f5332cc00ff22bcef1a9a63 (diff)
Merge pull request #152 from rohanghige/22-autocommands
[FIX] Tree-sitter ensure_installed error message
Diffstat (limited to 'lua/user/nvim-tree.lua')
-rw-r--r--lua/user/nvim-tree.lua18
1 files 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,
+ },
+ },
},
}