chore(opts): respect user opts (#255)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-27 01:39:48 -04:00
committed by GitHub
parent eaf37668b1
commit 3369f732c5
2 changed files with 6 additions and 15 deletions

View File

@@ -225,9 +225,6 @@ 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)