From 246139c57c4a82a9787974165dfeb7bee7dacc9c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 1 Dec 2014 19:26:28 +0900 Subject: [PATCH] Remove dead code (Fix #47) Thanks to @itchyny --- autoload/easy_align.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/autoload/easy_align.vim b/autoload/easy_align.vim index 69da232..4b369e4 100644 --- a/autoload/easy_align.vim +++ b/autoload/easy_align.vim @@ -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