modes: do not add special sections to accents

This commit is contained in:
Christian Brabandt 2018-11-07 13:49:22 +01:00
parent 33a633766d
commit 18200bfad3
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ endfunction
function! airline#themes#patch(palette)
for mode in keys(a:palette)
if mode == 'accents'
continue
endif
if !has_key(a:palette[mode], 'airline_warning')
let a:palette[mode]['airline_warning'] = [ '#000000', '#df5f00', 232, 166 ]
endif