mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-16 00:37:08 +08:00
fix solarized theme being out of sync (#288).
This commit is contained in:
@@ -11,10 +11,10 @@ describe 'highlighter'
|
||||
|
||||
it 'should populate accent colors'
|
||||
Expect exists('g:airline#themes#dark#palette.normal.airline_c_red') to_be_false
|
||||
Expect exists('g:airline#themes#dark#palette.insert.airline_c_red') to_be_false
|
||||
call airline#highlighter#add_accent('airline_c', 'red')
|
||||
Expect exists('g:airline#themes#dark#palette.normal.airline_c_red') to_be_true
|
||||
Expect exists('g:airline#themes#dark#palette.insert.airline_c_red') to_be_true
|
||||
Expect hlID('airline_c_red') == 0
|
||||
call airline#themes#patch(g:airline#themes#dark#palette)
|
||||
call airline#highlighter#highlight(['normal'])
|
||||
Expect hlID('airline_c_red') != 0
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user