Skip to content

Commit

Permalink
fix(yamlls): clean up ClientCapabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Jul 26, 2024
1 parent bd812bd commit bd71c30
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions internal/adapter/yamlls/initization.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,11 @@ func (yamllsConnector Connector) CallInitialize(ctx context.Context, workspaceUR
Name: "helm-ls",
},
Capabilities: lsp.ClientCapabilities{
Workspace: &lsp.WorkspaceClientCapabilities{},
TextDocument: &lsp.TextDocumentClientCapabilities{
Synchronization: &lsp.TextDocumentSyncClientCapabilities{},
Completion: &lsp.CompletionTextDocumentClientCapabilities{},
Hover: &lsp.HoverTextDocumentClientCapabilities{},
SignatureHelp: &lsp.SignatureHelpTextDocumentClientCapabilities{},
Declaration: &lsp.DeclarationTextDocumentClientCapabilities{},
Definition: &lsp.DefinitionTextDocumentClientCapabilities{},
TypeDefinition: &lsp.TypeDefinitionTextDocumentClientCapabilities{},
Implementation: &lsp.ImplementationTextDocumentClientCapabilities{},
References: &lsp.ReferencesTextDocumentClientCapabilities{},
DocumentHighlight: &lsp.DocumentHighlightClientCapabilities{},
DocumentSymbol: &lsp.DocumentSymbolClientCapabilities{
DynamicRegistration: false,
SymbolKind: &lsp.SymbolKindCapabilities{},
HierarchicalDocumentSymbolSupport: true,
TagSupport: &lsp.DocumentSymbolClientCapabilitiesTagSupport{},
LabelSupport: false,
},
CodeAction: &lsp.CodeActionClientCapabilities{},
CodeLens: &lsp.CodeLensClientCapabilities{},
DocumentLink: &lsp.DocumentLinkClientCapabilities{},
ColorProvider: &lsp.DocumentColorClientCapabilities{},
Formatting: &lsp.DocumentFormattingClientCapabilities{},
RangeFormatting: &lsp.DocumentRangeFormattingClientCapabilities{},
OnTypeFormatting: &lsp.DocumentOnTypeFormattingClientCapabilities{},
PublishDiagnostics: &lsp.PublishDiagnosticsClientCapabilities{},
Rename: &lsp.RenameClientCapabilities{},
FoldingRange: &lsp.FoldingRangeClientCapabilities{},
SelectionRange: &lsp.SelectionRangeClientCapabilities{},
CallHierarchy: &lsp.CallHierarchyClientCapabilities{},
SemanticTokens: &lsp.SemanticTokensClientCapabilities{},
LinkedEditingRange: &lsp.LinkedEditingRangeClientCapabilities{},
Moniker: &lsp.MonikerClientCapabilities{},
},
Window: &lsp.WindowClientCapabilities{},
General: &lsp.GeneralClientCapabilities{},
Experimental: nil,
},
}

Expand Down

0 comments on commit bd71c30

Please sign in to comment.