mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-08 21:14:44 +08:00
scrollbar: user after variable instead of re-calculating it
This commit is contained in:
@@ -25,7 +25,7 @@ function! airline#extensions#scrollbar#calculate() abort
|
||||
let after = 0
|
||||
let right = (overwrite ? '' : right)
|
||||
endif
|
||||
return left . repeat(spc, before) . middle . repeat(spc, (width-before)) . right
|
||||
return left . repeat(spc, before) . middle . repeat(spc, after) . right
|
||||
else
|
||||
return ''
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user