From 8d19b3c14b99c4ace0f7f84b61d293cb11947032 Mon Sep 17 00:00:00 2001 From: othree Date: Fri, 15 Oct 2010 22:02:07 +0800 Subject: [PATCH] make :M? work, mapping to ? --- plugin/eregex.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/eregex.vim b/plugin/eregex.vim index d801b8e..a9855e7 100644 --- a/plugin/eregex.vim +++ b/plugin/eregex.vim @@ -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