We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b492a57 commit df02671Copy full SHA for df02671
autoload/tpipeline/lualine.vim
@@ -15,7 +15,12 @@ endfunc
15
16
func tpipeline#lualine#clear_all_stl()
17
for i in range(1, tabpagewinnr(tabpagenr(), '$'))
18
- noa call win_execute(win_getid(i), 'setlocal stl<')
+ noa let s = getwinvar(win_getid(i), '&stl')
19
+ " Resetting the statusline may interfere with typing in that window,
20
+ " check for current statusline value before resetting it.
21
+ if !empty(s) && s !=# '%#StatusLine#'
22
+ noa call win_execute(win_getid(i), 'setlocal stl<')
23
+ endif
24
endfor
25
endfunc
26
0 commit comments