diff --git a/autoload/gitgutter.vim b/autoload/gitgutter.vim index 6a788a6..1358148 100644 --- a/autoload/gitgutter.vim +++ b/autoload/gitgutter.vim @@ -236,7 +236,7 @@ function! gitgutter#preview_hunk() abort silent! wincmd P if !&previewwindow - noautocmd execute 'bo ' . &previewheight . ' new' + noautocmd execute 'bo' &previewheight 'new' set previewwindow endif