Skip to content

Commit 4650a35

Browse files
committed
fix: buffer response context
1 parent 6b09eaa commit 4650a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/blink/cmp/sources/buffer.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local buffer = {}
6666

6767
function buffer.new(config) return setmetatable(config, { __index = buffer }) end
6868

69-
function buffer:get_completions(_, callback)
69+
function buffer:get_completions(context, callback)
7070
local transformed_callback = function(items)
7171
callback({ is_incomplete_forward = false, is_incomplete_backward = false, context = context, items = items })
7272
end

0 commit comments

Comments
 (0)