We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b24f48 commit 5b39d83Copy full SHA for 5b39d83
lua/blink/cmp/init.lua
@@ -48,6 +48,8 @@ cmp.setup = function(opts)
48
49
-- we avoid adding 0.5-4ms to insertion latency by scheduling for later
50
vim.schedule(function()
51
+ if cmp.trigger.context == nil or cmp.trigger.context.id ~= context.id then return end
52
+
53
local filtered_items = cmp.fuzzy.filter_items(cmp.fuzzy.get_query(), items)
54
filtered_items = cmp.sources.apply_max_items_for_completions(context, filtered_items)
55
if #filtered_items > 0 then
0 commit comments