mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-03 00:22:42 +08:00
highlighter: Cache syntax highlighting attributes
Should in theory improve performance by quiet a lot.
This commit is contained in:
@@ -57,6 +57,7 @@ endfunction
|
||||
function! s:on_colorscheme_changed()
|
||||
call s:init()
|
||||
unlet! g:airline#highlighter#normal_fg_hi
|
||||
call airline#highlighter#reset_hlcache()
|
||||
let g:airline_gui_mode = airline#init#gui_mode()
|
||||
if !s:theme_in_vimrc
|
||||
call airline#switch_matching_theme()
|
||||
|
||||
Reference in New Issue
Block a user