From f7f2818f1a174f86fc9cf6d4d71729cc96b98626 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 6 Jun 2018 13:45:53 -0600 Subject: [PATCH] Fix error when tabline extension is loaded 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 --- autoload/airline/themes/minimalist.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/themes/minimalist.vim b/autoload/airline/themes/minimalist.vim index 61bad1e..74abe3c 100644 --- a/autoload/airline/themes/minimalist.vim +++ b/autoload/airline/themes/minimalist.vim @@ -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