mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-05 08:30:03 +08:00
fix regression, allow statusline funcrefs to execute
This commit is contained in:
parent
238ab44489
commit
0758e2a88c
|
@ -109,8 +109,12 @@ function! s:exec_funcrefs(list, break_early)
|
|||
" for 7.3-[97, 328]; we cannot reuse the variable, hence the {}
|
||||
for i in range(0, len(a:list) - 1)
|
||||
let Fn{i} = a:list[i]
|
||||
if Fn{i}() && a:break_early
|
||||
return 1
|
||||
if a:break_early
|
||||
if Fn{i}()
|
||||
return 1
|
||||
endif
|
||||
else
|
||||
call Fn{i}()
|
||||
endif
|
||||
endfor
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user