mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +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 {
|
||||
'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