revert: remove invalid configuration (#447)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
7912070c6f
commit
c33ab80d88
@ -140,7 +140,6 @@ M.defaults = {
|
|||||||
wrap = true, -- similar to vim.o.wrap
|
wrap = true, -- similar to vim.o.wrap
|
||||||
width = 30, -- default % based on available width in vertical layout
|
width = 30, -- default % based on available width in vertical layout
|
||||||
height = 30, -- default % based on available height in horizontal layout
|
height = 30, -- default % based on available height in horizontal layout
|
||||||
direction = "right", -- "left" | "right"
|
|
||||||
sidebar_header = {
|
sidebar_header = {
|
||||||
align = "center", -- left, center, right for title
|
align = "center", -- left, center, right for title
|
||||||
rounded = true,
|
rounded = true,
|
||||||
|
@ -1383,7 +1383,7 @@ function Sidebar:create_input()
|
|||||||
if self:get_layout() == "vertical" then
|
if self:get_layout() == "vertical" then
|
||||||
return "bottom"
|
return "bottom"
|
||||||
end
|
end
|
||||||
return Config.windows.direction
|
return "right"
|
||||||
end
|
end
|
||||||
|
|
||||||
local get_size = function()
|
local get_size = function()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user