improve performance of lightline#highlight()