mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-13 05:53:51 -05:00
Entering a popup window, do not update lightline
This commit is contained in:
@@ -11,6 +11,9 @@ set cpo&vim
|
|||||||
let s:_ = 1 " 1: uninitialized, 2: disabled
|
let s:_ = 1 " 1: uninitialized, 2: disabled
|
||||||
|
|
||||||
function! lightline#update() abort
|
function! lightline#update() abort
|
||||||
|
if &buftype == 'popup'
|
||||||
|
return
|
||||||
|
endif
|
||||||
if s:_
|
if s:_
|
||||||
if s:_ == 2 | return | endif
|
if s:_ == 2 | return | endif
|
||||||
call lightline#init()
|
call lightline#init()
|
||||||
|
|||||||
Reference in New Issue
Block a user