@@ -615,11 +615,12 @@ defmodule ElixirLS.LanguageServer.Server do
615
615
% GenLSP.Notifications.TextDocumentDidOpen {
616
616
params: % GenLSP.Structures.DidOpenTextDocumentParams {
617
617
text_document: % GenLSP.Structures.TextDocumentItem {
618
- uri: uri ,
619
- language_id: language_id ,
620
- version: version ,
621
- text: text
622
- } }
618
+ uri: uri ,
619
+ language_id: language_id ,
620
+ version: version ,
621
+ text: text
622
+ }
623
+ }
623
624
} ,
624
625
state = % __MODULE__ { }
625
626
) do
@@ -1153,7 +1154,7 @@ defmodule ElixirLS.LanguageServer.Server do
1153
1154
1154
1155
defp handle_request (
1155
1156
% GenLSP.Requests.TextDocumentDefinition {
1156
- params: % GenLSP.Structures.TextDocumentPositionParams {
1157
+ params: % GenLSP.Structures.DefinitionParams {
1157
1158
text_document: % GenLSP.Structures.TextDocumentIdentifier {
1158
1159
uri: uri
1159
1160
} ,
@@ -1178,7 +1179,7 @@ defmodule ElixirLS.LanguageServer.Server do
1178
1179
1179
1180
defp handle_request (
1180
1181
% GenLSP.Requests.TextDocumentDeclaration {
1181
- params: % GenLSP.Structures.TextDocumentPositionParams {
1182
+ params: % GenLSP.Structures.DeclarationParams {
1182
1183
text_document: % GenLSP.Structures.TextDocumentIdentifier {
1183
1184
uri: uri
1184
1185
} ,
@@ -1203,7 +1204,7 @@ defmodule ElixirLS.LanguageServer.Server do
1203
1204
1204
1205
defp handle_request (
1205
1206
% GenLSP.Requests.TextDocumentImplementation {
1206
- params: % GenLSP.Structures.TextDocumentPositionParams {
1207
+ params: % GenLSP.Structures.ImplementationParams {
1207
1208
text_document: % GenLSP.Structures.TextDocumentIdentifier {
1208
1209
uri: uri
1209
1210
} ,
@@ -1265,7 +1266,7 @@ defmodule ElixirLS.LanguageServer.Server do
1265
1266
1266
1267
defp handle_request (
1267
1268
% GenLSP.Requests.TextDocumentHover {
1268
- params: % GenLSP.Structures.TextDocumentPositionParams {
1269
+ params: % GenLSP.Structures.HoverParams {
1269
1270
text_document: % GenLSP.Structures.TextDocumentIdentifier {
1270
1271
uri: uri
1271
1272
} ,
@@ -1332,7 +1333,7 @@ defmodule ElixirLS.LanguageServer.Server do
1332
1333
1333
1334
defp handle_request (
1334
1335
% GenLSP.Requests.TextDocumentCompletion {
1335
- params: % GenLSP.Structures.TextDocumentPositionParams {
1336
+ params: % GenLSP.Structures.CompletionParams {
1336
1337
text_document: % GenLSP.Structures.TextDocumentIdentifier {
1337
1338
uri: uri
1338
1339
} ,
@@ -1418,7 +1419,7 @@ defmodule ElixirLS.LanguageServer.Server do
1418
1419
1419
1420
defp handle_request (
1420
1421
% GenLSP.Requests.TextDocumentSignatureHelp {
1421
- params: % GenLSP.Structures.TextDocumentPositionParams {
1422
+ params: % GenLSP.Structures.SignatureHelpParams {
1422
1423
text_document: % GenLSP.Structures.TextDocumentIdentifier {
1423
1424
uri: uri
1424
1425
} ,
0 commit comments