Re: g:actual_curwin undefined

2019-06-19 Thread 'Lifepillar' via vim_use
On 19 Jun 2019, at 20:13, 'Lifepillar' via vim_use wrote: > > I want to use g:statusline_winid and g:actual_curwin to detect > whether the currently drawn status line is the active one. > > With Vim 8.1.1517, I have tried the following code: > >fun! BuildStatusLine() > return

g:actual_curwin undefined

2019-06-19 Thread 'Lifepillar' via vim_use
I want to use g:statusline_winid and g:actual_curwin to detect whether the currently drawn status line is the active one. With Vim 8.1.1517, I have tried the following code: fun! BuildStatusLine() return g:statusline_winid ==# g:actual_curwin \ ? 'Active' : 'Inactive' endf