revert: remove invalid configuration (#447)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2024-09-01 18:51:03 -04:00 committed by GitHub
parent 7912070c6f
commit c33ab80d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -140,7 +140,6 @@ M.defaults = {
wrap = true, -- similar to vim.o.wrap
width = 30, -- default % based on available width in vertical layout
height = 30, -- default % based on available height in horizontal layout
direction = "right", -- "left" | "right"
sidebar_header = {
align = "center", -- left, center, right for title
rounded = true,

View File

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