mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-19 02:15:56 +08:00
Merge pull request #1003 from chrisbra/less_redraws
Try to avoid excessive redraws.
This commit is contained in:
@@ -59,6 +59,9 @@ function! s:update_tabline()
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#tabline#load_theme(palette)
|
||||
if pumvisible()
|
||||
return
|
||||
endif
|
||||
let colors = get(a:palette, 'tabline', {})
|
||||
let l:tab = get(colors, 'airline_tab', a:palette.normal.airline_b)
|
||||
let l:tabsel = get(colors, 'airline_tabsel', a:palette.normal.airline_a)
|
||||
|
||||
Reference in New Issue
Block a user