Skip to content

Commit daabf69

Browse files
committed
Detect cancelled prompt properly
1 parent 6882a83 commit daabf69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/grepper.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ function! s:process_flags(flags)
697697
if a:flags.prompt
698698
call s:prompt(a:flags)
699699
if s:prompt_op == 'cancelled'
700-
return
700+
return 1
701701
endif
702702

703703
if a:flags.query =~ '^\s*$'

0 commit comments

Comments
 (0)