From: Bob Hiestand Date: Mon, 5 Dec 2011 16:13:27 +0000 (-0600) Subject: don't split nested windows in split annotate X-Git-Tag: v1.99.46^0 X-Git-Url: https://repo.or.cz/w/vcscommand.git/commitdiff_plain/bffbab0357b89fed164dbe114649c9d82993ee1a don't split nested windows in split annotate --- diff --git a/plugin/vcscommand.vim b/plugin/vcscommand.vim index 1992b18..2726436 100644 --- a/plugin/vcscommand.vim +++ b/plugin/vcscommand.vim @@ -818,6 +818,7 @@ function! s:VCSAnnotate(bang, ...) if splitRegex == '' return annotateBuffer endif + wincmd J let originalFileType = getbufvar(originalBuffer, '&ft') let annotateFileType = getbufvar(annotateBuffer, '&ft')