Skip to content

Commit 3ad3994

Browse files
committed
TextDocumentPositionParams are mandatory
1 parent c597b0a commit 3ad3994

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lsp_language.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ type DocumentHighlightParams struct {
321321
}
322322

323323
type DeclarationParams struct {
324-
*TextDocumentPositionParams
324+
TextDocumentPositionParams
325325
*WorkDoneProgressParams
326326
*PartialResultParams
327327
}
@@ -1141,7 +1141,7 @@ type SemanticTokensRangeParams struct {
11411141
}
11421142

11431143
type LinkedEditingRangeParams struct {
1144-
*TextDocumentPositionParams
1144+
TextDocumentPositionParams
11451145
*WorkDoneProgressParams
11461146
}
11471147

@@ -1157,7 +1157,7 @@ type LinkedEditingRanges struct {
11571157
}
11581158

11591159
type MonikerParams struct {
1160-
*TextDocumentPositionParams
1160+
TextDocumentPositionParams
11611161
*WorkDoneProgressParams
11621162
*PartialResultParams
11631163
}

lsp_text_synchronization.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ type DidSaveTextDocumentParams struct {
122122
}
123123

124124
type RenameParams struct {
125-
*TextDocumentPositionParams
125+
TextDocumentPositionParams
126126
*WorkDoneProgressParams
127127

128128
// The new name of the symbol. If the given name is not valid the

0 commit comments

Comments
 (0)