Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,7 @@ public bool IsLspEditorEnabled()
#pragma warning restore VSTHRD108 // Assert thread affinity unconditionally
}

var useLegacyEditorEnabled = _lazyLegacyEditorEnabled.GetValue(_disposeTokenSource.Token);

if (useLegacyEditorEnabled)
{
_activityLog.LogInfo("Using legacy editor because the option was set to true");
return false;
}

_activityLog.LogInfo("LSP editor is enabled.");
return true;
return !_lazyLegacyEditorEnabled.GetValue(_disposeTokenSource.Token);
}

/// <inheritdoc/>
Expand Down