fix(gemini): check if json can be decoded (#446)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-09-01 18:47:35 -04:00
committed by GitHub
parent 3ccb71d7ef
commit 7912070c6f
3 changed files with 12 additions and 4 deletions

View File

@@ -1383,7 +1383,7 @@ function Sidebar:create_input()
if self:get_layout() == "vertical" then
return "bottom"
end
return "right"
return Config.windows.direction
end
local get_size = function()