-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: can't open new windows #815
Comments
I had the same issue, probably because I am using Packer instead of the methods listed in the README. Here my working config for packer: use {
'yetone/avante.nvim',
requires = {
'nvim-treesitter/nvim-treesitter',
'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
'nvim-tree/nvim-web-devicons',
'zbirenbaum/copilot.lua',
{
'HakonHarnes/img-clip.nvim',
config = function()
require('img-clip').setup({
-- your config
})
end
},
{
'MeanderingProgrammer/render-markdown.nvim',
config = function()
require('render-markdown').setup({
file_types = { "markdown", "Avante" }
})
end
}
},
config = function()
require('copilot').setup({
-- your config
})
require('avante_lib').load()
require('avante').setup({
-- your config
})
end
} @yetone could we include Packer in your README? Hope this helps |
yep, I'm facing the save problem using the vim-plug in nvim Plug('yetone/avante.nvim', {['branch'] = 'main', ['do'] = 'make'})
-- some usage
require('avante_lib').load() and the windows was traceback because of the nil value, Any possible reason? |
more info, might help, If I print the |
Hello @nikisix I am having the same problem with my Mac M2. And i just tested on a fresh install on my windows running WSL (Ubuntu) and it worked first try! |
What world are we in where software works on windows but not unix
…On Mon, Nov 18, 2024 at 6:53 PM Victor Barrozo ***@***.***> wrote:
Hello @nikisix <https://github.com/nikisix> I am having the same problem
with my Mac M2. And i just tested on a fresh install on my windows running
WSL (Ubuntu) and it worked first try!
—
Reply to this email directly, view it on GitHub
<#815 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFX6UTEBFHF3U3B7CK5ZXT2BKK3NAVCNFSM6AAAAABRJ5SLZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBUGU2DANRSGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We have fixed this problem with the help of @yetone
vim.call('plug#begin')
Plug('yetone/avante.nvim', {['branch']='main', ['do']= 'make' })
vim.call('plug#end')
-- some other config
require('avante_lib').load()
require('avante').setup() and then it will work out. Thx @yetone for his help again ! |
If your plugin manager is not require('avante_lib').load()
require('avante').setup() |
But my plugin manager is |
Then you can manually execute these two lines of code: require('avante_lib').load()
require('avante').setup() |
Describe the bug
Fresh avante install, built from source b/c on an macOS arm M2 chip.
:AvanteToggle
:AvanteAsk
Using default
lazy.vim
* config:To reproduce
No response
Expected behavior
No response
Installation method
Use lazy.nvim:
Environment
LUNARVIM: release-1.4/neovim-0.9-d15c8d7
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1727870382
OSX ARM M2
Repro
No response
The text was updated successfully, but these errors were encountered: