Skip to content

Commit 515db2d

Browse files
author
Calvinn Ng
committed
force completion to be line by line
1 parent 7a84ef7 commit 515db2d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

core/config/load.ts

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

135135
if (remoteConfigServerUrl) {
136136
const remoteConfigJson = await fetchRemoteConfig(remoteConfigServerUrl.href);
137-
config = mergeJson(config, remoteConfigJson, "overwrite", configMergeKeys);
137+
config = mergeJson(config, remoteConfigJson, "merge", configMergeKeys);
138+
139+
// Force it to generate line by line
140+
if (config.tabAutocompleteOptions) {
141+
config.tabAutocompleteOptions.multilineCompletions = "never";
142+
} else {
143+
config.tabAutocompleteOptions = { multilineCompletions: "never" };
144+
}
138145
}
139146

140147
for (const workspaceConfig of workspaceConfigs) {

0 commit comments

Comments
 (0)