Add g:gitgutter_preview_win_location option

This commit is contained in:
homestar
2019-05-11 23:07:59 -05:00
committed by Andy Stewart
parent c75c83df53
commit 8985017094
3 changed files with 8 additions and 1 deletions

View File

@@ -255,7 +255,7 @@ function! s:preview(hunk_diff)
silent! wincmd P
if !&previewwindow
noautocmd execute 'bo' previewheight 'new'
noautocmd execute g:gitgutter_preview_win_location previewheight 'new'
set previewwindow
else
execute 'resize' previewheight