@requires_segment_info
def tablister(pl, segment_info, **kwargs):
	cur_tabpage = current_tabpage()
	cur_tabnr = cur_tabpage.number

	def add_multiplier(tabpage, dct):
		dct['priority_multiplier'] = 1 + (0.001 * abs(tabpage.number - cur_tabnr))
		return dct

	return (
		(lambda tabpage, prefix: (
			tabpage_updated_segment_info(segment_info, tabpage),
			add_multiplier(tabpage, {
				'highlight_group_prefix': prefix,
				'divider_highlight_group': 'tab:divider'
			})
		))(tabpage, 'tab' if tabpage == cur_tabpage else 'tab_nc')
		for tabpage in list_tabpages()
	)
Returns the original sparse weight matrix.
dataset/ETHPy150Open powerline/powerline/powerline/listers/vim.py/tablister--crossover with--dataset/ETHPy150Open charanpald/APGL/apgl/graph/SparseGraph.py/SparseGraph.getSparseWeightMatrix