mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-10 02:43:49 -05:00
Disallow 0 as the first character of N-th
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user