Skip to content

Commit ff6c799

Browse files
committed
fixed case in 'omitempty' directive
1 parent 80eb6f3 commit ff6c799

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: lsp/service.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type WorkspaceClientCapabilities struct {
8080
Symbol struct {
8181
SymbolKind struct {
8282
ValueSet []int `json:"valueSet,omitempty"`
83-
} `json:"symbolKind,omitEmpty"`
83+
} `json:"symbolKind,omitempty"`
8484
} `json:"symbol,omitempty"`
8585

8686
ExecuteCommand *struct {
@@ -124,7 +124,7 @@ type TextDocumentClientCapabilities struct {
124124
DocumentSymbol struct {
125125
SymbolKind struct {
126126
ValueSet []int `json:"valueSet,omitempty"`
127-
} `json:"symbolKind,omitEmpty"`
127+
} `json:"symbolKind,omitempty"`
128128

129129
HierarchicalDocumentSymbolSupport bool `json:"hierarchicalDocumentSymbolSupport,omitempty"`
130130
} `json:"documentSymbol,omitempty"`
@@ -725,8 +725,8 @@ type DidChangeTextDocumentParams struct {
725725
}
726726

727727
type TextDocumentContentChangeEvent struct {
728-
Range *Range `json:"range,omitEmpty"`
729-
RangeLength uint `json:"rangeLength,omitEmpty"`
728+
Range *Range `json:"range,omitempty"`
729+
RangeLength uint `json:"rangeLength,omitempty"`
730730
Text string `json:"text"`
731731
}
732732

0 commit comments

Comments
 (0)