Skip to content

Commit 1af1639

Browse files
committed
add missing negation
1 parent ad635e6 commit 1af1639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/suggest/browser/suggestModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ export class SuggestModel implements IDisposable {
528528
const ctx = new LineContext(model, this._editor.getPosition(), auto, context.shy, context.noSelect);
529529
const fuzzySearchOptions = {
530530
...FuzzyScoreOptions.default,
531-
firstMatchCanBeWeak: this._editor.getOption(EditorOption.suggest).matchOnWordStartOnly
531+
firstMatchCanBeWeak: !this._editor.getOption(EditorOption.suggest).matchOnWordStartOnly
532532
};
533533
this._completionModel = new CompletionModel(items, this._context!.column, {
534534
leadingLineContent: ctx.leadingLineContent,

0 commit comments

Comments
 (0)