Vim 7.4 broke my svn filetype plugin (http://mg.pov.lt/vim/ftplugin/svn.vim).

The plugin opens a new split window and puts the output of 'svn diff' in
there when I run 'svn commit'.  This window gets some attributes set,
including 'previewwindow', which I use to make vim quit as soon as I
close the svn-commit.tmp file.

With vim 7.4 the preview window appears empty (lacking even a status
line), and you cannot switch to it with Ctrl-W W.

Steps to reproduce:

  echo "au BufRead,BufNewFile * new|put ='some text'|setlocal pvw" > bug.vim
  vim -u bug.vim newfile.txt

Expected behavior (which I get with vim 7.3.547, and which I used to get
with 7.3.verylargenumbers):

  http://i.imgur.com/MRN6f9c.png -- you get two windows, with some text
  in the first one

Actual behavior:

  http://i.imgur.com/0KKz1i3.png -- the preview window takes up space,
  but is completely blank, doesn't even have a statusline, and cannot be
  switched to.

Note: if you run vim -u bug.vim, and then open a new file with :e, this
bug doesn't show up.

Marius Gedminas
-- 
And yes, you'd be insane to consider C++ for a new project in 2007.
                -- Thomas Ptacek

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui