Skip to content

Commit 044a201

Browse files
sudo-teeCopilot
andauthored
Update lua/opencode/ui/completion/subagents.lua
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f3e6bd3 commit 044a201

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/opencode/ui/completion/subagents.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ local subagent_source = {
1010
complete = Promise.async(function(context)
1111
local subagents = require('opencode.config_file').get_subagents():await()
1212
local config = require('opencode.config')
13-
local expected_trigger = '@'
13+
local expected_trigger = config.get_key_for_function('input_window', 'mention') or '@'
1414
if context.trigger_char ~= expected_trigger then
1515
return {}
1616
end

0 commit comments

Comments
 (0)