Do not attach margin_left string before phantom token

This commit is contained in:
Junegunn Choi
2013-10-19 19:49:11 +09:00
parent 6e2264672a
commit 3cc564bd68
4 changed files with 39 additions and 17 deletions

View File

@@ -19,3 +19,24 @@ Execute (Aligning lines with many delimiters should not fail):
%EasyAlign*|
AssertEqual (&maxfuncdepth + 1) * 3 - 2, len(getline(1))
Given:
a | b | c
aa | bb | cc
Execute:
%EasyAlign*|iu0{'l':'<', 'r': '>'}
Expect:
a <|>b <|>c
aa<|>bb<|>cc
Given (Trailing delimiter):
a | b | c |
aa | bb | cc |
Execute:
%EasyAlign*|iu0{'l':'<', 'r': '>'}
Expect:
a <|>b <|>c <|
aa<|>bb<|>cc<|