Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(signature): enable trigger after show signature manually
Allow updating signature with trigger when turn on by keymap manually
even when trigger is disabled globally like:
signature = { enabled = true, trigger = { enabled = false, }, }
  • Loading branch information
acidx27x committed Nov 5, 2025
commit 652f8ed15cfbee49099333ba5941ebc4a12c6478
8 changes: 7 additions & 1 deletion lua/blink/cmp/signature/trigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ end
function trigger.show(opts)
opts = opts or {}

if not opts.force and not config.enabled then return end
if
not opts.force
and not config.enabled
and not (require('blink.cmp.config').signature.enabled and require('blink.cmp.signature.window').win:is_open())
then
return
end

-- update context
local cursor = vim.api.nvim_win_get_cursor(0)
Expand Down