File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ type ServerCapabilities struct {
111
111
// The server provides semantic tokens support.
112
112
//
113
113
// @since 3.16.0
114
- SemanticTokensProvider * SemanticTokensRegistrationOptions `json:"semanticTokensProvider,omitempty"`
114
+ SemanticTokensProvider * SemanticTokensOptions `json:"semanticTokensProvider,omitempty"`
115
115
116
116
// Whether server provides moniker support.
117
117
//
@@ -772,6 +772,9 @@ func (s *CallHierarchyOptions) UnmarshalJSON(data []byte) error {
772
772
}
773
773
774
774
type SemanticTokensOptions struct {
775
+ * TextDocumentRegistrationOptions
776
+ * StaticRegistrationOptions
777
+
775
778
// WorkDoneProgressOptions
776
779
// The legend used by the server
777
780
Legend SemanticTokensLegend `json:"legend,required"`
@@ -806,12 +809,6 @@ func (x *BooleanOrEmptyStruct) UnmarshalJSON(data []byte) error {
806
809
807
810
}
808
811
809
- type SemanticTokensRegistrationOptions struct {
810
- * TextDocumentRegistrationOptions
811
- * SemanticTokensOptions
812
- * StaticRegistrationOptions
813
- }
814
-
815
812
type SemanticTokensLegend struct {
816
813
// The token types a server uses.
817
814
TokenTypes []string `json:"tokenTypes"`
You can’t perform that action at this time.
0 commit comments