Luckily, companion plants like asparagus, dill, tomatoes, and peppers can help provide a better environment for basil.