From 776336f57c080f13f86e81c4af96ba14909bf0fb Mon Sep 17 00:00:00 2001 From: Tobias Guggenmos Date: Wed, 17 Jun 2020 17:01:50 +0200 Subject: [PATCH] Fix whitespace issues Signed-off-by: Tobias Guggenmos --- langserver/codeLens.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/langserver/codeLens.go b/langserver/codeLens.go index cce45cc7..3a40a14d 100644 --- a/langserver/codeLens.go +++ b/langserver/codeLens.go @@ -24,7 +24,6 @@ import ( // CodeLens is required by the protocol.Server interface. func (s *server) CodeLens(_ context.Context, params *protocol.CodeLensParams) ([]protocol.CodeLens, error) { - // Currently Code Lenses are only supported for VS Code if s.initializeParams.ClientInfo.Name != "vscode" { return nil, nil @@ -49,7 +48,6 @@ func (s *server) CodeLens(_ context.Context, params *protocol.CodeLensParams) ([ codeLenses := make([]protocol.CodeLens, 0, len(queries)) for _, query := range queries { - pos, err := doc.PosToProtocolPosition(query.Pos) if err != nil { return nil, nil