make :M? work, mapping to ?

This commit is contained in:
othree 2010-10-15 22:02:07 +08:00
parent 38a631a849
commit 8d19b3c14b

View File

@ -679,7 +679,7 @@ function! s:Ematch(...)
let string = a:1
let delim=string[0]
if delim !=# '/'
if delim !=# '/' && delim !=# '?'
let v:errmsg= "The delimiter `" . delim . "' isn't available, use `/' ."
echo v:errmsg
return