Some great options for planting with both tomatoes and peppers include parsley, onions, garlic, carrots, Swiss chard, bush beans, celery and lovage. These mostly shallow rooted plants don’t compete much for moisture and nutrients. Their differing pest and disease resistance improves the whole crop.