avante.nvim
avante.nvim copied to clipboard
bug: Autocommands caused command to abort
Describe the bug
When I :wq with sidebar open, it shows this message:
To reproduce
Open sidebar, select split with file that you are editing, type :wq
Expected behavior
Closes vim
Installation method
Use lazy.nvim:
{
"yetone/avante.nvim",
event = "VeryLazy",
lazy = false,
version = false, -- set this if you want to always pull the latest change
opts = {
-- add any opts here
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = "make",
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
dependencies = {
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
},
}
Environment
❯ nvim -v && uname -a NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713773202 Run "nvim -V1 -v" for more info Linux Monday 6.6.54 #1-NixOS SMP PREEMPT_DYNAMIC Fri Oct 4 14:30:05 UTC 2024 x86_64 GNU/Linux
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
-- add any other plugins here
},
})
Any news on this? Is kind of anoying to not be able to close my editor with the avante window opened without needing to close it and then close the editor...
Can you dump your nix config here?
Sure, not sure how it is related but here you go :) https://github.com/gytis-ivaskevicius/nix2vim/blob/master/modules/ai.nix#L48-L52
Also experiencing this when trying to close all other windows with Ctrl W + o
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.