Skip to content

Commit eb2e521

Browse files
fix symbol info request (#1273)
1 parent 99e23ae commit eb2e521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sourcekit-lsp/extensions/SymbolInfoRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export interface SymbolDetails {
150150
* any additional client or server capabilities to use.
151151
*/
152152
export namespace SymbolInfoRequest {
153-
export const method = "textDocument/documentSymbol" as const;
153+
export const method = "textDocument/symbolInfo" as const;
154154
export const messageDirection: MessageDirection = MessageDirection.clientToServer;
155-
export const type = new RequestType<SymbolInfoParams, SymbolDetails, never>(method);
155+
export const type = new RequestType<SymbolInfoParams, SymbolDetails[], never>(method);
156156
}

0 commit comments

Comments
 (0)