Skip to content

Commit

Permalink
Fix whitespace issues
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Guggenmos <[email protected]>
  • Loading branch information
slrtbtfs committed Mar 25, 2022
1 parent 3797981 commit 776336f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions langserver/codeLens.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 776336f

Please sign in to comment.