@requires_segment_info
def tab_modified_indicator(pl, segment_info, text=u'+'):
 for buf_segment_info in list_tabpage_buffers_segment_info(segment_info):
  if int(vim_getbufoption(buf_segment_info, u'modified')):
   return [{u'contents': text, u'highlight_groups': [u'tab_modified_indicator', u'modified_indicator']}]
 return None

@ requires_segment_info def tab_modified_indicator ( pl , segment_info , text = u'+' ) : for buf_segment_info in list_tabpage_buffers_segment_info ( segment_info ) : if int ( vim_getbufoption ( buf_segment_info , u'modified' ) ) : return [ { u'contents' : text , u'highlight_groups' : [ u'tab_modified_indicator' , u'modified_indicator' ] } ] return None
return a file modified indicator for tabpages .