From 9d3afa620643d7d61ffa0a25691ea1a493fcf3ed Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 4 Oct 2013 01:36:55 +0900 Subject: [PATCH] Merge option values in dictionary and shortcut expression --- autoload/easy_align.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/easy_align.vim b/autoload/easy_align.vim index 93f8cdd..c07be48 100644 --- a/autoload/easy_align.vim +++ b/autoload/easy_align.vim @@ -765,8 +765,8 @@ function! s:parse_args(args) " Found regexp if !empty(matches) - if empty(opts) && !empty(matches[3]) - let opts = s:parse_shortcut_opts(matches[3]) + if !empty(matches[3]) + let opts = extend(s:parse_shortcut_opts(matches[3]), opts) endif return [matches[1], s:test_regexp(matches[2]), opts, 1] else