Skip to content

Commit 3e25c02

Browse files
author
Calvinn Ng
committed
force useOtherFiles to true and onlyMyCode to false in tabCompletionOptions
1 parent 2214782 commit 3e25c02

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

core/config/load.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,14 @@ async function loadSerializedConfig(
146146

147147
if (config.tabAutocompleteOptions) {
148148
config.tabAutocompleteOptions.multilineCompletions = "never";
149+
config.tabAutocompleteOptions.useOtherFiles = true;
150+
config.tabAutocompleteOptions.onlyMyCode = false;
149151
} else {
150-
config.tabAutocompleteOptions = { multilineCompletions: "never" };
152+
config.tabAutocompleteOptions = {
153+
multilineCompletions: "never",
154+
useOtherFiles: true,
155+
onlyMyCode: false,
156+
};
151157
}
152158

153159
config.disableIndexing = true;

0 commit comments

Comments
 (0)