From ce57528961d229df9e16db5fcb303b307263dfee Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Fri, 23 Aug 2024 01:06:37 -0400 Subject: [PATCH] fix(win): make sure to balance once entering (#160) Signed-off-by: Aaron Pham --- lua/avante/sidebar.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/avante/sidebar.lua b/lua/avante/sidebar.lua index 090a71f..8dcc7bd 100644 --- a/lua/avante/sidebar.lua +++ b/lua/avante/sidebar.lua @@ -98,6 +98,8 @@ function Sidebar:open() end self:focus() end + + vim.cmd("wincmd =") return self end