mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 20:24:27 +08:00
improve performance with accent cache (#326).
This commit is contained in:
@@ -13,6 +13,7 @@ describe 'highlighter'
|
||||
Expect exists('g:airline#themes#dark#palette.normal.airline_c_red') to_be_false
|
||||
Expect hlID('airline_c_red') == 0
|
||||
call airline#themes#patch(g:airline#themes#dark#palette)
|
||||
call airline#highlighter#add_accent('red')
|
||||
call airline#highlighter#highlight(['normal'])
|
||||
Expect hlID('airline_c_red') != 0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user