I keep all kinds of plants in my Hap Peacock tank - Amazon Swords, jungle val, anubias, crypts, java fern. They leave them alone.
Veggie matter is provided in the flake food (I mix in veggie flakes into the Tetra African Mix) and the occasional chunk of zuchinni. I also feed Hikari Gold pellets, veggie crisps, frozen brine and blood worms....
It's all about variety and well balanced meals...