Skip to content

Commit ac6d97d

Browse files
sudo-teeCopilot
andauthored
Update lua/opencode/types.lua
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 69f1ba8 commit ac6d97d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/opencode/types.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@
412412
---@field complete fun(context: CompletionContext): Promise<CompletionItem[]> Function to generate completion items
413413
---@field on_complete fun(item: CompletionItem): nil Optional callback when item is selected
414414
---@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
415416

416417
---@class OpencodeContext
417418
---@field current_file OpencodeContextFile|nil

0 commit comments

Comments
 (0)