Restore press enter prompt in :Ggrep in GUI
This commit is contained in:
parent
95c1f1525d
commit
0db4ceb980
@ -3725,7 +3725,9 @@ function! s:Grep(listnr, bang, arg) abort
|
||||
let list = map(readfile(tempfile), 's:GrepParseLine(prefix, name_only, dir, v:val)')
|
||||
call s:QuickfixSet(listnr, list, 'a')
|
||||
if v:version > 704 | exe 'silent doautocmd <nomodeline> QuickFixCmdPost ' (listnr < 0 ? 'Ggrep' : 'Glgrep') | endif
|
||||
redraw
|
||||
if !has('gui_running')
|
||||
redraw
|
||||
endif
|
||||
if !a:bang && !empty(list)
|
||||
return (listnr < 0 ? 'c' : 'l').'first' . after
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user