Skip to content

Commit

Permalink
fix: cancel signature help request on hide
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Oct 5, 2024
1 parent 69d3854 commit b1fdee5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/blink/cmp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ cmp.setup_signature_help = function()
end)
end)

signature_trigger.listen_on_hide(function() cmp.windows.signature.close() end)
signature_trigger.listen_on_hide(function()
cmp.sources.cancel_signature_help()
cmp.windows.signature.close()
end)
end

cmp.add_default_highlights = function()
Expand Down

0 comments on commit b1fdee5

Please sign in to comment.