Allow recursive alignment (*, **) in blockwise-visual mode

Recursive alignment in blockwise-visual mode will align around all the
delimiters found after the start of the block. This behavior is
inconsistent with non-recursive alignment where the delimiters after the
end of the block are ignored. Making it respect the end of the block is
non-trivial and may not be intuitive as each alignment will change the
position of the delimiters inside the block and some of them will end up
beyond the scope of the block.
This commit is contained in:
Junegunn Choi
2014-09-13 19:54:49 +09:00
parent 09167c79c9
commit 21697776b4
3 changed files with 28 additions and 13 deletions

View File

@@ -30,3 +30,4 @@ Execute (Clean up test environment):
nmap <leader>A <Plug>(EasyAlign)
vmap <leader>. <Plug>(EasyAlignRepeat)
silent! call plug#load('vim-easy-align')