Skip to content

Commit

Permalink
fix: trigger context initial_kind resetting
Browse files Browse the repository at this point in the history
Closes #803
  • Loading branch information
Saghen committed Dec 29, 2024
1 parent cf9cc6e commit 3ef27bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/blink/cmp/completion/trigger/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ function trigger.show(opts)
trigger.context = context.new({
id = trigger.current_context_id,
providers = providers,
initial_trigger_kind = trigger.context and trigger.context.trigger.kind or opts.trigger_kind,
initial_trigger_character = trigger.context and trigger.context.trigger.character or opts.trigger_character,
initial_trigger_kind = trigger.context and trigger.context.trigger.initial_kind or opts.trigger_kind,
initial_trigger_character = trigger.context and trigger.context.trigger.initial_character or opts.trigger_character,
trigger_kind = opts.trigger_kind,
trigger_character = opts.trigger_character,
})
Expand Down

0 comments on commit 3ef27bc

Please sign in to comment.