Skip to content

Commit 7dd5f05

Browse files
authored
Enable conflict marker decorators even if merge editor is enabled. (microsoft#157982)
1 parent f8ad3a1 commit 7dd5f05

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

extensions/merge-conflict/src/services.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,6 @@ export default class ServiceWrapper implements vscode.Disposable {
4848
}
4949

5050
createExtensionConfiguration(): interfaces.IExtensionConfiguration {
51-
52-
// PRAGMATIC way to avoid conflicting with the new merge editor: when git opts into
53-
// using the merge editor we disable this extension - for the merge editor but also
54-
// for "other" editors
55-
const gitConfig = vscode.workspace.getConfiguration('git');
56-
if (gitConfig.get<boolean>('mergeEditor')) {
57-
return {
58-
enableCodeLens: false,
59-
enableDecorations: false,
60-
enableEditorOverview: false
61-
};
62-
}
63-
6451
const workspaceConfiguration = vscode.workspace.getConfiguration(ConfigurationSectionName);
6552
const codeLensEnabled: boolean = workspaceConfiguration.get('codeLens.enabled', true);
6653
const decoratorsEnabled: boolean = workspaceConfiguration.get('decorators.enabled', true);

0 commit comments

Comments
 (0)