@requires_segment_info
def modified_indicator(pl, segment_info, text=u'+'):
 return (text if int(vim_getbufoption(segment_info, u'modified')) else None)

@ requires_segment_info def modified_indicator ( pl , segment_info , text = u'+' ) : return ( text if int ( vim_getbufoption ( segment_info , u'modified' ) ) else None )
return a file modified indicator .