fix: vim-plug installation (#595)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
cea3dfb85b
commit
26fe7b4a10
@ -92,7 +92,10 @@ Plug 'HakonHarnes/img-clip.nvim'
|
|||||||
Plug 'zbirenbaum/copilot.lua'
|
Plug 'zbirenbaum/copilot.lua'
|
||||||
|
|
||||||
" Yay, pass source=true if you want to build from source
|
" Yay, pass source=true if you want to build from source
|
||||||
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': { -> avante#build() }, 'on': 'AvanteAsk' }
|
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': 'make' }
|
||||||
|
autocmd! User avante.nvim lua << EOF
|
||||||
|
require('avante_lib').load()
|
||||||
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
@ -121,6 +121,7 @@ end
|
|||||||
|
|
||||||
---@param opts? AskOptions
|
---@param opts? AskOptions
|
||||||
M.refresh = function(opts)
|
M.refresh = function(opts)
|
||||||
|
opts = opts or {}
|
||||||
local sidebar = require("avante").get()
|
local sidebar = require("avante").get()
|
||||||
if not sidebar then return end
|
if not sidebar then return end
|
||||||
if not sidebar:is_open() then return end
|
if not sidebar:is_open() then return end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user