@@ -87,7 +87,6 @@ data Method (f :: From) (t :: MethodType) where
87
87
TextDocumentSemanticTokensFull :: Method FromClient Request
88
88
TextDocumentSemanticTokensFullDelta :: Method FromClient Request
89
89
TextDocumentSemanticTokensRange :: Method FromClient Request
90
- WorkspaceSemanticTokensRefresh :: Method FromClient Request
91
90
92
91
-- ServerMethods
93
92
-- Window
@@ -108,6 +107,7 @@ data Method (f :: From) (t :: MethodType) where
108
107
WorkspaceWorkspaceFolders :: Method FromServer Request
109
108
WorkspaceConfiguration :: Method FromServer Request
110
109
WorkspaceApplyEdit :: Method FromServer Request
110
+ WorkspaceSemanticTokensRefresh :: Method FromServer Request
111
111
-- Document
112
112
TextDocumentPublishDiagnostics :: Method FromServer Notification
113
113
@@ -287,7 +287,6 @@ instance FromJSON SomeClientMethod where
287
287
parseJSON (A. String " workspace/didChangeWatchedFiles" ) = pure $ SomeClientMethod SWorkspaceDidChangeWatchedFiles
288
288
parseJSON (A. String " workspace/symbol" ) = pure $ SomeClientMethod SWorkspaceSymbol
289
289
parseJSON (A. String " workspace/executeCommand" ) = pure $ SomeClientMethod SWorkspaceExecuteCommand
290
- parseJSON (A. String " workspace/semanticTokens/refresh" ) = pure $ SomeClientMethod SWorkspaceSemanticTokensRefresh
291
290
-- Document
292
291
parseJSON (A. String " textDocument/didOpen" ) = pure $ SomeClientMethod STextDocumentDidOpen
293
292
parseJSON (A. String " textDocument/didChange" ) = pure $ SomeClientMethod STextDocumentDidChange
@@ -351,6 +350,7 @@ instance A.FromJSON SomeServerMethod where
351
350
parseJSON (A. String " workspace/workspaceFolders" ) = pure $ SomeServerMethod SWorkspaceWorkspaceFolders
352
351
parseJSON (A. String " workspace/configuration" ) = pure $ SomeServerMethod SWorkspaceConfiguration
353
352
parseJSON (A. String " workspace/applyEdit" ) = pure $ SomeServerMethod SWorkspaceApplyEdit
353
+ parseJSON (A. String " workspace/semanticTokens/refresh" ) = pure $ SomeServerMethod SWorkspaceSemanticTokensRefresh
354
354
-- Document
355
355
parseJSON (A. String " textDocument/publishDiagnostics" ) = pure $ SomeServerMethod STextDocumentPublishDiagnostics
356
356
@@ -388,7 +388,6 @@ instance A.ToJSON (SMethod m) where
388
388
toJSON SWorkspaceDidChangeWatchedFiles = A. String " workspace/didChangeWatchedFiles"
389
389
toJSON SWorkspaceSymbol = A. String " workspace/symbol"
390
390
toJSON SWorkspaceExecuteCommand = A. String " workspace/executeCommand"
391
- toJSON SWorkspaceSemanticTokensRefresh = A. String " workspace/semanticTokens/refresh"
392
391
-- Document
393
392
toJSON STextDocumentDidOpen = A. String " textDocument/didOpen"
394
393
toJSON STextDocumentDidChange = A. String " textDocument/didChange"
@@ -445,6 +444,7 @@ instance A.ToJSON (SMethod m) where
445
444
toJSON SWorkspaceWorkspaceFolders = A. String " workspace/workspaceFolders"
446
445
toJSON SWorkspaceConfiguration = A. String " workspace/configuration"
447
446
toJSON SWorkspaceApplyEdit = A. String " workspace/applyEdit"
447
+ toJSON SWorkspaceSemanticTokensRefresh = A. String " workspace/semanticTokens/refresh"
448
448
-- Document
449
449
toJSON STextDocumentPublishDiagnostics = A. String " textDocument/publishDiagnostics"
450
450
-- Cancelling
0 commit comments