Skip to content

Commit e86c5b8

Browse files
author
Justin Chen
committed
reformatted fields
1 parent d4a86ac commit e86c5b8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/PowerShellEditorServices/Services/TextDocument/Handlers/PsesSemanticTokens.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ namespace Microsoft.PowerShell.EditorServices.Handlers
2121
{
2222
internal class PsesSemanticTokensHandler : SemanticTokensHandler
2323
{
24-
private readonly ILogger _logger;
25-
private readonly WorkspaceService _workspaceService;
26-
private static readonly SemanticTokensRegistrationOptions s_registrationOptions = new SemanticTokensRegistrationOptions() {
24+
private static readonly SemanticTokensRegistrationOptions s_registrationOptions = new SemanticTokensRegistrationOptions
25+
{
2726
DocumentSelector = LspUtils.PowerShellDocumentSelector,
2827
Legend = new SemanticTokensLegend(),
29-
DocumentProvider = new Supports<SemanticTokensDocumentProviderOptions>(isSupported: true,
30-
new SemanticTokensDocumentProviderOptions {
28+
DocumentProvider = new Supports<SemanticTokensDocumentProviderOptions>(
29+
isSupported: true,
30+
new SemanticTokensDocumentProviderOptions
31+
{
3132
Edits = true
3233
}),
3334
RangeProvider = true
3435
};
36+
private readonly ILogger _logger;
37+
private readonly WorkspaceService _workspaceService;
3538

3639
public PsesSemanticTokensHandler(ILogger<PsesSemanticTokensHandler> logger, WorkspaceService workspaceService) : base(s_registrationOptions)
3740
{

0 commit comments

Comments
 (0)