Heat olive oil in a wide skillet with sides over medium heat.
Add onion and cook, stirring occasionally until translucent; 3 to 5 minutes.
Add zucchini, yellow squash, mushrooms, capsicum, garlic, oregano, red pepper flakes, and a generous pinch of salt then cook, stirring occasionally until softened but still with some crunch; 5 to 8 minutes.
Stir in the tomato paste and cook another minute.
Add the tomatoes and chickpeas. Bring to a low simmer and cook until the liquid has thickened and reduced by half; about 10 minutes.
While the sauce simmers, bring a large pot of salted water to the boil then cook pasta according to package directions.
Take the sauce off of the heat, and then stir in the spinach and basil. Taste then adjust with additional salt if needed.
Toss in the cooked pasta, and then leave for a minute so that the pasta absorbs some of the sauce and the spinach wilts.
Toss again, and then serve with parmesan or nutritional yeast sprinkled on top.