Entering a popup window, do not update lightline

This commit is contained in:
Naruhiko Nishino
2019-07-14 02:29:05 +09:00
committed by GitHub
parent 80c242c3c5
commit f947d46271

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()