We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15cb871 commit 98575f0Copy full SHA for 98575f0
lua/blink/cmp/sources/lib/context.lua
@@ -69,7 +69,7 @@ function sources_context:get_completions_for_group(sources_group_idx, sources_gr
69
and vim.tbl_contains(source:get_trigger_characters(), context.trigger.character)
70
71
-- The TriggerForIncompleteCompletions kind is handled by the source itself
72
- local source_context = vim.fn.deepcopy(context)
+ local source_context = require('blink.cmp.utils').shallow_copy(context)
73
source_context.trigger = trigger_character
74
and { kind = vim.lsp.protocol.CompletionTriggerKind.TriggerCharacter, character = context.trigger.character }
75
or { kind = vim.lsp.protocol.CompletionTriggerKind.Invoked }
0 commit comments