Disallow 0 as the first character of N-th

This commit is contained in:
Junegunn Choi
2013-09-22 21:58:31 +09:00
parent 94a750e03e
commit 5230a2402f

View File

@@ -595,7 +595,7 @@ function! s:interactive(modes, vis, opts, delims)
elseif n == '**' | let n = '' elseif n == '**' | let n = ''
else | let check = 1 else | let check = 1
endif endif
elseif c >= 48 && c <= 57 " Numbers elseif (c == 48 && len(n) > 0) || c > 48 && c <= 57 " Numbers
if n[0] == '*' | let check = 1 if n[0] == '*' | let check = 1
else | let n = n . ch else | let n = n . ch
end end