mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-10 10:53:49 -05:00
{\s\+} is a valid empty option
This commit is contained in:
@@ -345,7 +345,7 @@ function! s:parse_args(args)
|
|||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
" Invalid option dictionary
|
" Invalid option dictionary
|
||||||
if len(cand) > 2 && empty(option)
|
if len(substitute(cand, '\s', '', 'g')) > 2 && empty(option)
|
||||||
call s:exit("Invalid option: ". cand)
|
call s:exit("Invalid option: ". cand)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user