Skip to content

Commit c019af6

Browse files
committed
fix: base completion, self referencing
1 parent 40dd8e9 commit c019af6

File tree

1 file changed

+1
-1
lines changed
  • lua/opencode/ui/completion/engines

1 file changed

+1
-1
lines changed

lua/opencode/ui/completion/engines/base.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ end
6969
---Queries all completion sources and formats their responses into a unified structure
7070
---@param context table Completion context containing input, cursor_pos, line, trigger_char
7171
---@return table[] Array of wrapped completion items with metadata
72-
CompletionEngine.get_completion_items = Promsise.async(function(context)
72+
CompletionEngine.get_completion_items = Promise.async(function(self, context)
7373
local items = {}
7474
for _, source in ipairs(self._completion_sources or {}) do
7575
local source_items = source.complete(context):await()

0 commit comments

Comments
 (0)