remove all themes from the core repository except for the default.

resolves #923
This commit is contained in:
Bailey Ling
2016-01-29 22:24:49 -05:00
parent ce44577f1b
commit d7fd8ca649
39 changed files with 14 additions and 2342 deletions

View File

@@ -19,7 +19,12 @@ function! s:init()
let s:airline_theme_defined = exists('g:airline_theme')
if s:airline_theme_defined || !airline#switch_matching_theme()
let g:airline_theme = get(g:, 'airline_theme', 'dark')
try
let palette = g:airline#themes#{g:airline_theme}#palette
catch
echom 'Could not resolve airline theme "' . g:airline_theme . '". Themes have been migrated to github.com/vim-airline/vim-airline-themes.'
let g:airline_theme = 'dark'
endtry
call airline#switch_theme(g:airline_theme)
endif
@@ -115,6 +120,3 @@ command! -bar AirlineRefresh call s:airline_refresh()
call airline#init#bootstrap()
call s:airline_toggle()
autocmd VimEnter * call airline#deprecation#check()