mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03: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
|
" Specifying where to open the preview window can lead to the cursor going
|
||||||
" to an unexpected window when the preview window is closed (#769).
|
" 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
|
silent! wincmd P
|
||||||
setlocal statusline=%{''}
|
setlocal statusline=%{''}
|
||||||
doautocmd WinEnter
|
doautocmd WinEnter
|
||||||
|
|||||||
Reference in New Issue
Block a user