Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
7266661413
commit
2b4dff46fc
@ -88,7 +88,7 @@ Plug 'HakonHarnes/img-clip.nvim'
|
||||
Plug 'zbirenbaum/copilot.lua'
|
||||
|
||||
" Yay
|
||||
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': ':AvanteBuild', 'on': 'AvanteAsk' }
|
||||
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': { -> avante#build() }, 'on': 'AvanteAsk' }
|
||||
```
|
||||
|
||||
> [!important]
|
||||
|
3
autoload/avante.vim
Normal file
3
autoload/avante.vim
Normal file
@ -0,0 +1,3 @@
|
||||
function avante#build() abort
|
||||
return join(luaeval("require('avante').build()"), "\n")
|
||||
endfunction
|
Loading…
x
Reference in New Issue
Block a user