-
Notifications
You must be signed in to change notification settings - Fork 308
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
Install Failed via vim-plug #453
Comments
Does
|
did you call |
Here's my init.lua. In detail, after .vimrc (with vim-plug) in sourced, init.lua is invoked in my configuration. ...
require('img-clip').setup({
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
},
})
require('render-markdown').setup {
file_types = { "markdown", "Avante" },
enable = true,
}
require('avante_lib').load()
require('avante').setup {
provider = "openai",
mappings = {
submit = {
normal = "<C-j>",
insert = "<C-j>",
},
},
}
... Since I use openapi, I popped out copilot.lua and related config. |
❯ nvim --version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Here's my init.vim configuration file, with unrelated plugin sections removed. call plug#begin('~/.config/nvim/plugged')
" Deps
Plug 'stevearc/dressing.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'MunifTanjim/nui.nvim'
" Optional deps
Plug 'nvim-tree/nvim-web-devicons' "or Plug 'echasnovski/mini.icons'
Plug 'HakonHarnes/img-clip.nvim'
Plug 'zbirenbaum/copilot.lua'
" Yay, pass source=true if you want to build from source
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': { -> avante#build() }, 'on': 'AvanteAsk' }
call plug#end()
lua << EOF
require('avante_lib').load()
EOF
Seems faild at buildindg function. I have checked runtimepath, and the path for avante.nvim was not added. |
#541 should address this. |
I tried with my configuration and @Kaoruha's minimal configuration, but it failed in both cases. I double-checked that the vim-plug downloaded the latest main branch (33c9ac2). It seems lazy loading technique (
|
As a result, I use |
When I tried to run the new one, I encountered "avante.nvim ... Vim(return):E118: Too many arguments for function: join" on my side. |
@ericzwong sorry for the ping, can you try with this #550? |
It works for me. |
Thanks for going through all the trouble, appreciate it a ton |
I installed the lib via vim-plug, but got the following error log.
1 Updated. Elapsed time: 2.031265 sec.
1 [====================x]
2
3 - Finishing ... Done!
4 x Post-update hook for avante.nvim ... Vim:E492: Not an editor command: AvanteBuild
how to fix~
The text was updated successfully, but these errors were encountered: