From a61b885892bfb165a2af48295e801aa70d17e404 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sun, 12 Dec 2021 09:40:06 -0500 Subject: [PATCH] Fixed nvim-tree to resize when file is opened --- nvim/.config/nvim/lua/config/nvim-tree.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/config/nvim-tree.lua b/nvim/.config/nvim/lua/config/nvim-tree.lua index 71ad51a..dbe34c4 100644 --- a/nvim/.config/nvim/lua/config/nvim-tree.lua +++ b/nvim/.config/nvim/lua/config/nvim-tree.lua @@ -88,7 +88,7 @@ require("nvim-tree").setup { -- side of the tree, can be one of 'left' | 'right' | 'top' | 'bottom' side = "left", -- if true the tree will resize itself after opening a file - auto_resize = false, + auto_resize = true, mappings = { -- custom only false will merge the list with the default mappings -- if true, it will only use your list to set the mappings