Skip to content

Commit 2670f6d

Browse files
committed
feat(selection-context): add better description for selection menu
1 parent 6773d5a commit 2670f6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/opencode/ui/completion/context.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ local function add_selection_items(ctx)
114114
create_context_item(
115115
'Selection' .. (ctx.selections and #ctx.selections > 0 and string.format(' (%d)', #ctx.selections) or ''),
116116
'selection',
117-
context.is_context_enabled('selection')
117+
context.is_context_enabled('selection'),
118+
ctx.selections and #ctx.selections > 0 and 'Manage your current selections individually'
119+
or 'No selections available.'
118120
),
119121
}
120122

0 commit comments

Comments
 (0)