Skip to content

Commit 71c6030

Browse files
Kapil Borledaviwil
authored andcommitted
Add registration options for definition request
1 parent 050e7bc commit 71c6030

File tree

1 file changed

+2
-2
lines changed
  • src/PowerShellEditorServices.Protocol/LanguageServer

1 file changed

+2
-2
lines changed

src/PowerShellEditorServices.Protocol/LanguageServer/Definition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
1010
public class DefinitionRequest
1111
{
1212
public static readonly
13-
RequestType<TextDocumentPosition, Location[], object, object> Type =
14-
RequestType<TextDocumentPosition, Location[], object, object>.Create("textDocument/definition");
13+
RequestType<TextDocumentPosition, Location[], object, TextDocumentRegistrationOptions> Type =
14+
RequestType<TextDocumentPosition, Location[], object, TextDocumentRegistrationOptions>.Create("textDocument/definition");
1515
}
1616
}
1717

0 commit comments

Comments
 (0)