This is a pretty bad sign...At this state it may not take pellets. Yes try veggies and try to see if there is any other issues in the tank(aggressive bottom tank mates, lack of hiding space etc); but if that pleco does not sustain its eating, it will perish soon.