docs: add position configuration in the readme (#437)

This commit is contained in:
yetone 2024-09-01 16:25:52 +08:00 committed by GitHub
parent d9aa7c78af
commit 8dd5db8923
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,6 +212,8 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
},
hints = { enabled = true },
windows = {
---@type "right" | "left" | "top" | "bottom"
position = "right", -- the position of the sidebar
wrap = true, -- similar to vim.o.wrap
width = 30, -- default % based on available width
sidebar_header = {