]> granicus.if.org Git - vim/commit
patch 8.1.1372: when evaluating 'statusline' the current window is unknown v8.1.1372
authorBram Moolenaar <Bram@vim.org>
Thu, 23 May 2019 20:11:59 +0000 (22:11 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 May 2019 20:11:59 +0000 (22:11 +0200)
commit1c6fd1e100fd0457375642ec50d483bcc0f61bb2
tree88d15359a046a461250ab7301d0f5216b1616837
parent99499b1c05f85f83876b828eea3f6e14f0f407b4
patch 8.1.1372: when evaluating 'statusline' the current window is unknown

Problem:    When evaluating 'statusline' the current window is unknown.
            (Daniel Hahler)
Solution:   Set "g:actual_curwin" for %{} items.  Set "g:statusline_winid"
            when evaluationg %!. (closes #4406, closes #3299)
runtime/doc/options.txt
src/buffer.c
src/testdir/test_statusline.vim
src/version.c