diff --git a/autoload/lightline/colorscheme.vim b/autoload/lightline/colorscheme.vim index 7bcbc83..5027d02 100644 --- a/autoload/lightline/colorscheme.vim +++ b/autoload/lightline/colorscheme.vim @@ -3,7 +3,7 @@ " Version: 0.0 " Author: itchyny " License: MIT License -" Last Change: 2015/01/17 12:51:08. +" Last Change: 2015/02/15 08:47:11. " ============================================================================= let s:save_cpo = &cpo @@ -212,7 +212,7 @@ function! lightline#colorscheme#flatten(p) abort for l in values(k) for m in range(len(l)) let attr = "" - if len(l[m]) == 3 + if len(l[m]) == 3 && type(l[m][2]) == 1 let attr = l[m][2] endif let l[m] = [l[m][0][0], l[m][1][0], l[m][0][1], l[m][1][1]]