mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-11 11:23:49 -05:00
Merge option values in dictionary and shortcut expression
This commit is contained in:
@@ -765,8 +765,8 @@ function! s:parse_args(args)
|
|||||||
|
|
||||||
" Found regexp
|
" Found regexp
|
||||||
if !empty(matches)
|
if !empty(matches)
|
||||||
if empty(opts) && !empty(matches[3])
|
if !empty(matches[3])
|
||||||
let opts = s:parse_shortcut_opts(matches[3])
|
let opts = extend(s:parse_shortcut_opts(matches[3]), opts)
|
||||||
endif
|
endif
|
||||||
return [matches[1], s:test_regexp(matches[2]), opts, 1]
|
return [matches[1], s:test_regexp(matches[2]), opts, 1]
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user