Skip to content

Commit c5d0aeb

Browse files
committed
add comment
1 parent 00b928e commit c5d0aeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/terminal-suggest/src/terminalSuggestMain.ts

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ export async function getCompletionItemsFromSpecs(
369369
foldersRequested ||= argsCompletionResult.foldersRequested;
370370
}
371371
if (!argsCompletionResult?.items.length) {
372+
// Arg completions are more specific, only get options if those are not provided.
372373
const optionsCompletionResult = handleOptions(specLabel, spec, terminalContext, precedingText, prefix);
373374
if (optionsCompletionResult) {
374375
items.push(...optionsCompletionResult.items);

0 commit comments

Comments
 (0)