Skip to content

Commit

Permalink
fix: vim-plug installation (yetone#595)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
  • Loading branch information
aarnphm authored Sep 15, 2024
1 parent cea3dfb commit 26fe7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ 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' }
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': 'make' }
autocmd! User avante.nvim lua << EOF
require('avante_lib').load()
EOF
```

</details>
Expand Down
1 change: 1 addition & 0 deletions lua/avante/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ end

---@param opts? AskOptions
M.refresh = function(opts)
opts = opts or {}
local sidebar = require("avante").get()
if not sidebar then return end
if not sidebar:is_open() then return end
Expand Down

0 comments on commit 26fe7b4

Please sign in to comment.