Remove dead code (Fix #47)

Thanks to @itchyny
This commit is contained in:
Junegunn Choi
2014-12-01 19:26:28 +09:00
parent 3afd4540ed
commit 246139c57c

View File

@@ -843,7 +843,6 @@ function! s:parse_shorthand_opts(expr)
call s:exit("Invalid expression: ". a:expr)
else
let match = matchlist(expr, regex)
if empty(match) | break | endif
for m in filter(match[ 1 : -1 ], '!empty(v:val)')
for key in ['lm', 'rm', 'l', 'r', 'stl', 's', '<', '>', 'iu', 'da', 'd', 'ms', 'm', 'ig', 'i', 'g', 'v', 'a']
if stridx(tolower(m), key) == 0