mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 16:55:07 +02:00
Fix highlight group documentation for line_percent
This commit is contained in:
parent
9e8fab3312
commit
d33b8ee946
@ -252,7 +252,7 @@ def line_percent(segment_info, gradient=False):
|
|||||||
:param bool gradient:
|
:param bool gradient:
|
||||||
highlight the percentage with a color gradient (by default a green to red gradient)
|
highlight the percentage with a color gradient (by default a green to red gradient)
|
||||||
|
|
||||||
Highlight groups used: ``line_percent_gradient`` (gradient), ``line_percent``.
|
Highlight groups used: ``line_percent_gradient`` (gradient) or ``line_percent``.
|
||||||
'''
|
'''
|
||||||
line_current = segment_info['window'].cursor[0]
|
line_current = segment_info['window'].cursor[0]
|
||||||
line_last = len(segment_info['buffer'])
|
line_last = len(segment_info['buffer'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user