Skip to content

Commit f419527

Browse files
committed
Fix GoplsClient capability declarations
1 parent 2b950fb commit f419527

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lsp_client/clients/gopls.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
)
1515
from lsp_client.capability.request import (
1616
WithRequestCallHierarchy,
17+
WithRequestCompletion,
1718
WithRequestDefinition,
1819
WithRequestDocumentSymbol,
1920
WithRequestHover,
2021
WithRequestImplementation,
22+
WithRequestInlayHint,
2123
WithRequestReferences,
24+
WithRequestSignatureHelp,
2225
WithRequestTypeDefinition,
2326
WithRequestTypeHierarchy,
2427
WithRequestWorkspaceSymbol,
@@ -31,6 +34,7 @@
3134
)
3235
from lsp_client.capability.server_request import (
3336
WithRespondConfigurationRequest,
37+
WithRespondInlayHintRefresh,
3438
WithRespondShowDocumentRequest,
3539
WithRespondShowMessageRequest,
3640
WithRespondWorkspaceFoldersRequest,
@@ -74,11 +78,14 @@ class GoplsClient(
7478
Client,
7579
WithNotifyDidChangeConfiguration,
7680
WithRequestCallHierarchy,
81+
WithRequestCompletion,
7782
WithRequestDefinition,
7883
WithRequestDocumentSymbol,
7984
WithRequestHover,
8085
WithRequestImplementation,
86+
WithRequestInlayHint,
8187
WithRequestReferences,
88+
WithRequestSignatureHelp,
8289
WithRequestTypeDefinition,
8390
WithRequestTypeHierarchy,
8491
WithRequestWorkspaceSymbol,
@@ -87,6 +94,7 @@ class GoplsClient(
8794
WithReceivePublishDiagnostics,
8895
WithReceiveShowMessage,
8996
WithRespondConfigurationRequest,
97+
WithRespondInlayHintRefresh,
9098
WithRespondShowDocumentRequest,
9199
WithRespondShowMessageRequest,
92100
WithRespondWorkspaceFoldersRequest,

0 commit comments

Comments
 (0)