We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2140dc commit 9c9e0ccCopy full SHA for 9c9e0cc
lua/blink/cmp/sources/lib/context.lua
@@ -47,7 +47,10 @@ end
47
--- @param context blink.cmp.Context
48
--- @return blink.cmp.Task
49
function sources_context:get_completions_for_sources(sources, context)
50
- local non_fallback_sources = vim.tbl_filter(function(source) return source.config.fallback_for == nil end, sources)
+ local non_fallback_sources = vim.tbl_filter(
51
+ function(source) return source.config.fallback_for == nil or #source.config.fallback_for == 0 end,
52
+ sources
53
+ )
54
55
-- get completions for each non-fallback source
56
local tasks = vim.tbl_map(function(source)
0 commit comments