fix: remove status line (#132)

This commit is contained in:
yetone 2024-08-21 22:31:56 +08:00 committed by GitHub
parent 8eef44d45a
commit 62928ace70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View File

@ -66,6 +66,18 @@ For Windows users, change the build command to the following:
> If your neovim doesn't use LuaJIT, then change `build` to `make lua51`. By default running make will install luajit. > If your neovim doesn't use LuaJIT, then change `build` to `make lua51`. By default running make will install luajit.
> For ARM-based setup, make sure to also install cargo as we will have to build the tiktoken_core from source. > For ARM-based setup, make sure to also install cargo as we will have to build the tiktoken_core from source.
> [!NOTE]
>
> Recommended **Neovim** options:
>
> ```lua
> -- views can only be fully collapsed with the global statusline
> vim.opt.laststatus = 3
> -- Default splitting will cause your main splits to jump when opening an edgebar.
> -- To prevent this, set `splitkeep` to either `screen` or `topline`.
> vim.opt.splitkeep = "screen"
> ```
> [!NOTE] > [!NOTE]
> >
> `render-markdown.nvim` is an optional dependency that is used to render the markdown content of the chat history. Make sure to also include `Avante` as a filetype > `render-markdown.nvim` is an optional dependency that is used to render the markdown content of the chat history. Make sure to also include `Avante` as a filetype

View File

@ -315,6 +315,8 @@ local base_win_options = {
-- winhighlight = "Normal:NormalFloat,Border:FloatBorder,VertSplit:NormalFloat,WinSeparator:NormalFloat,CursorLine:NormalFloat", -- winhighlight = "Normal:NormalFloat,Border:FloatBorder,VertSplit:NormalFloat,WinSeparator:NormalFloat,CursorLine:NormalFloat",
fillchars = "eob: ", fillchars = "eob: ",
winhighlight = "CursorLine:Normal,CursorColumn:Normal", winhighlight = "CursorLine:Normal,CursorColumn:Normal",
winbar = "",
statusline = "",
} }
local function get_win_options() local function get_win_options()