mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Suppress echoing of preview window file name
The file name does not mean anything so it is unhelpful to show it. Not showing it avoids the hit-enter prompt which can occur.
This commit is contained in:
@@ -468,7 +468,7 @@ function! s:open_hunk_preview_window()
|
||||
|
||||
" Specifying where to open the preview window can lead to the cursor going
|
||||
" to an unexpected window when the preview window is closed (#769).
|
||||
noautocmd execute g:gitgutter_preview_win_location 'pedit gitgutter://hunk-preview'
|
||||
silent! noautocmd execute g:gitgutter_preview_win_location 'pedit gitgutter://hunk-preview'
|
||||
silent! wincmd P
|
||||
setlocal statusline=%{''}
|
||||
doautocmd WinEnter
|
||||
|
||||
Reference in New Issue
Block a user