From 01605e5614f18639ad06691cc73518b150150f51 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Mon, 21 Mar 2022 18:26:54 +0300 Subject: [PATCH] set resize_window to true for open_file action --- neovim/.config/nvim/lua/user/file-tree.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neovim/.config/nvim/lua/user/file-tree.lua b/neovim/.config/nvim/lua/user/file-tree.lua index dc5e469..0ecf4da 100644 --- a/neovim/.config/nvim/lua/user/file-tree.lua +++ b/neovim/.config/nvim/lua/user/file-tree.lua @@ -63,6 +63,11 @@ require("nvim-tree").setup({ filters = { custom = { ".git" }, }, + actions = { + open_file = { + resize_window = true, + }, + }, git = { ignore = true, },