From af81505eaf8bb794ce1cf2c8776034d4edbbfb02 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 3 Nov 2024 16:17:08 -0500 Subject: [PATCH] prevent nvim-tree from resizing whenever a new file is opened so fucking annoying. who made that default behaviour!?!?!?! --- nvim/lua/plugins/nvim-tree.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/lua/plugins/nvim-tree.lua b/nvim/lua/plugins/nvim-tree.lua index a4b74e9..7c62603 100644 --- a/nvim/lua/plugins/nvim-tree.lua +++ b/nvim/lua/plugins/nvim-tree.lua @@ -8,6 +8,11 @@ return { }, config = function() require('nvim-tree').setup { + actions = { + open_file = { + resize_window = false, + }, + }, renderer = { highlight_git = 'all', highlight_diagnostics = 'icon',