Skip to content

Commit

Permalink
fix: don't prevent show() when ghost-text is visible (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessevdp authored Dec 27, 2024
1 parent 021216d commit 59d6b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink/cmp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ end

--- @params opts? { providers?: string[] }
function cmp.show(opts)
if cmp.is_visible() and not (opts and opts.providers) then return end
if require('blink.cmp.completion.windows.menu').win:is_open() and not (opts and opts.providers) then return end

vim.schedule(function()
require('blink.cmp.completion.windows.menu').auto_show = true
Expand Down

0 comments on commit 59d6b4f

Please sign in to comment.