From f799d94a347c6e2d4d18918ecf85754fe0c36205 Mon Sep 17 00:00:00 2001 From: itchyny Date: Sun, 20 Mar 2016 10:14:04 +0900 Subject: [PATCH] fix lightline#init: unlet the value because the type of the values in the configuration can change --- autoload/lightline.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/lightline.vim b/autoload/lightline.vim index 52e68ba..55942c2 100644 --- a/autoload/lightline.vim +++ b/autoload/lightline.vim @@ -2,7 +2,7 @@ " Filename: autoload/lightline.vim " Author: itchyny " License: MIT License -" Last Change: 2016/03/20 10:04:23. +" Last Change: 2016/03/20 10:13:05. " ============================================================================= let s:save_cpo = &cpo @@ -151,6 +151,7 @@ function! lightline#init() abort elseif !has_key(s:lightline, key) let s:lightline[key] = value endif + unlet value endfor call extend(s:lightline.tabline_separator, s:lightline.separator, 'keep') call extend(s:lightline.tabline_subseparator, s:lightline.subseparator, 'keep')