fix: default use global statusline (#133)

This commit is contained in:
yetone
2024-08-21 22:43:00 +08:00
committed by GitHub
parent 62928ace70
commit 5208fdc278

View File

@@ -194,6 +194,9 @@ function M.setup(opts)
vim.cmd([[quit]])
end
-- use a global statusline
vim.opt.laststatus = 3
---PERF: we can still allow running require("avante").setup() multiple times to override config if users wish to
---but most of the other functionality will only be called once from lazy.nvim
Config.setup(opts)