Those small size dogs normally can live 18 19 years old.
If it is me I will think about doing the eye surgery for him if necessary. Your dog looks happy the eye problem seems doesn't bother him at all...... enjoy while you can don't overthink too much