Merge pull request #371 from rbtnn/patch-1

Entering a popup window, do not update lightline
This commit is contained in:
itchyny
2019-07-15 23:01:16 +09:00
committed by GitHub

View File

@@ -11,6 +11,9 @@ set cpo&vim
let s:_ = 1 " 1: uninitialized, 2: disabled
function! lightline#update() abort
if &buftype == 'popup'
return
endif
if s:_
if s:_ == 2 | return | endif
call lightline#init()