We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69f1ba8 commit ac6d97dCopy full SHA for ac6d97d
1 file changed
lua/opencode/types.lua
@@ -412,6 +412,7 @@
412
---@field complete fun(context: CompletionContext): Promise<CompletionItem[]> Function to generate completion items
413
---@field on_complete fun(item: CompletionItem): nil Optional callback when item is selected
414
---@field is_incomplete? boolean Whether the completion results are incomplete (for sources that support pagination)
415
+---@field get_trigger_character? fun(): string|nil Optional function returning the trigger character for this source
416
417
---@class OpencodeContext
418
---@field current_file OpencodeContextFile|nil
0 commit comments