Can you gain weight eating pasta?

Just curious. I eat veggies on angel hair pasta. And shrimp but I eat half of half portions maybe once a week! Will I gain weight from it?