mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 07:16:31 +02:00
Fallback to line_percent highlighting for gradient segment
This commit is contained in:
parent
9f60daaf78
commit
d87b35d094
@ -153,7 +153,7 @@ def line_percent(gradient=False):
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'contents': percentage,
|
'contents': percentage,
|
||||||
'highlight': 'line_percent_gradient' + str(int(5 * percentage // 100) + 1),
|
'highlight': ['line_percent_gradient' + str(int(5 * percentage // 100) + 1), 'line_percent'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user