mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-08 18:03:49 -05:00
Fix #50 - Updated shorthand notation (m -> a)
This commit is contained in:
@@ -672,7 +672,7 @@ function! s:interactive(range, modes, n, d, opts, rules, vis, bvis)
|
|||||||
elseif c == 13 " Enter key
|
elseif c == 13 " Enter key
|
||||||
let mode = s:shift(a:modes, 1)
|
let mode = s:shift(a:modes, 1)
|
||||||
if has_key(opts, 'a')
|
if has_key(opts, 'a')
|
||||||
let opts.m = mode . strpart(opts.m, 1)
|
let opts.a = mode . strpart(opts.a, 1)
|
||||||
endif
|
endif
|
||||||
elseif ch == '-'
|
elseif ch == '-'
|
||||||
if empty(n) | let n = '-'
|
if empty(n) | let n = '-'
|
||||||
|
|||||||
Reference in New Issue
Block a user