Skip to content

Commit

Permalink
Fix error when tabline extension is loaded
Browse files Browse the repository at this point in the history
The non-normal maps may be used by other extensions. In particular,
airline#extensions#tabline#load_theme() causes errors unless they
are set.

fixes #141
  • Loading branch information
softmoth authored and chrisbra committed Jun 7, 2018
1 parent c593b00 commit f7f2818
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/airline/themes/minimalist.vim
Expand Up @@ -56,6 +56,9 @@ function! airline#themes#{s:theme}#refresh()
let palette.normal.airline_warning = WI
let palette.normal.airline_term = TE

let palette.insert = palette.normal
let palette.replace = palette.normal
let palette.visual = palette.normal
let palette.inactive = airline#themes#generate_color_map(IA, IA, IA)

if s:want_showmod
Expand Down

0 comments on commit f7f2818

Please sign in to comment.