mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-11 03:13:48 -05:00
Set g:easy_align_last_command
This commit is contained in:
@@ -142,6 +142,7 @@ function! s:echon(l, n, r, d, o, warn)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
call s:echon_(tokens)
|
call s:echon_(tokens)
|
||||||
|
return join(map(tokens, 'v:val[1]'), '')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:exit(msg)
|
function! s:exit(msg)
|
||||||
@@ -900,6 +901,6 @@ function! s:align(bang, first_line, last_line, expr)
|
|||||||
\ )
|
\ )
|
||||||
call extend(copts, { 'm': aseq_str })
|
call extend(copts, { 'm': aseq_str })
|
||||||
endif
|
endif
|
||||||
call s:echon('', n, regexp, ch, copts, '')
|
let g:easy_align_last_command = s:echon('', n, regexp, ch, copts, '')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user