mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-10 19:03:50 -05:00
- Preserve indentation when a line starts with a delimiter
- Useful for aligning multi-line method chains
- Renamed `margin_{left,right}` to `{left,right}_margin
- Makes it easier to type in (`l`, `r`)
- `margin_{left,right}` is still supported
- Margins can be specified as the number of spaces, or as an arbitrary string
14 lines
289 B
VimL
14 lines
289 B
VimL
e!
|
|
execute 'source '. expand('%:p:h') . '/include.vim'
|
|
|
|
while line('.') < line('$')
|
|
normal 30j
|
|
redraw
|
|
endwhile
|
|
|
|
normal gg
|
|
let @b=system('cat '. expand('%:p:r') . '.script')
|
|
let @a='@b:vert diffsplit ' . expand('%:p:r') . '.expected
|
|
'
|
|
" Syntax highlighting doesn't work
|
|
echo "Press @a"
|