Skip to content

Commit

Permalink
Merge pull request #117 from mattn/fix-connection-number
Browse files Browse the repository at this point in the history
fix specifying numbered connection
  • Loading branch information
mattn authored Dec 20, 2023
2 parents cfbc8f9 + 8c6c203 commit a9a7705
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/handler/execute_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ func (s *Server) switchConnections(ctx context.Context, params lsp.ExecuteComman
break
}
}
} else {
}
if index <= 0 {
index, _ = strconv.Atoi(indexStr)
}

Expand Down

0 comments on commit a9a7705

Please sign in to comment.