Skip to content

A Nov 2018 change in Airline broke g:base16_airline=1 mode #2

@chkno

Description

@chkno

vim-airline commit 14691bb00e1ce3f8118ec664fc3308ee37a66a55 "themes: load them explicitly rather than implictly" on 2018 Nov 13 broke Soares/base16.nvim 's airline integration. After this commit, attempts to use g:base16_airline=1 yield this error message:

airline: The specified theme "summerfruit_dark" cannot be found.

vim-airline commit ffac12cbbe68577c4431ecabbc9bc142138b01a9 "theme: do not show not-found warning" on 2018 Nov 14 broke it a bit further, changing the error output to:

airline: The specified theme "summerfruit_dark" cannot be found.
Error detected while processing function airline#switch_theme:
line   11:
E605: Exception not caught: not-found
Error detected while processing 
/home/username/.config/nvim/plugged/base16.nvim/colors/summerfruit.vim:
line  418:
E171: Missing :endif

A minimal .config/nvim/init.vim configuration that reproduces this problem:

set termguicolors

call plug#begin()
Plug 'vim-airline/vim-airline'
Plug 'Soares/base16.nvim'
call plug#end()

let g:base16_airline = 1
set background=dark
colorscheme summerfruit

A git-bisect session indicating these airline commits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions