mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-14 04:43:48 -05:00
Fix issue #19 (hard tab indentation)
This commit is contained in:
@@ -1432,6 +1432,57 @@ Expect:
|
||||
|
||||
###########################################################
|
||||
|
||||
Given (hard-tab indentation (#19)):
|
||||
a=1=3
|
||||
bbb=2=4
|
||||
ccccc=4=5
|
||||
fff=4=6
|
||||
|
||||
Do (Left alignment):
|
||||
vip\<Enter>=
|
||||
|
||||
Expect:
|
||||
a = 1=3
|
||||
bbb = 2=4
|
||||
ccccc = 4=5
|
||||
fff = 4=6
|
||||
|
||||
Do (Right alignment):
|
||||
vip\<Enter>\<Enter>=
|
||||
|
||||
Expect:
|
||||
a = 1=3
|
||||
bbb = 2=4
|
||||
ccccc = 4=5
|
||||
fff = 4=6
|
||||
|
||||
Do (Center alignment):
|
||||
vip\<Enter>\<Enter>\<Enter>=
|
||||
|
||||
Expect:
|
||||
a = 1=3
|
||||
bbb = 2=4
|
||||
ccccc = 4=5
|
||||
fff = 4=6
|
||||
|
||||
Given (hard-tab indentation - dictionary (#19)):
|
||||
ddict={'homePage':'360452',
|
||||
'key':'TEST',
|
||||
'name':'DocumentationAPITestingSpace',
|
||||
'type':'global',
|
||||
'url':'http://localhost:8090/display/TEST'}
|
||||
|
||||
Do (Right alignment):
|
||||
vip\<Enter>\<Enter>:
|
||||
|
||||
Expect:
|
||||
ddict={'homePage': '360452',
|
||||
'key': 'TEST',
|
||||
'name': 'DocumentationAPITestingSpace',
|
||||
'type': 'global',
|
||||
'url': 'http://localhost:8090/display/TEST'}
|
||||
|
||||
###########################################################
|
||||
Execute:
|
||||
Restore
|
||||
|
||||
|
||||
Reference in New Issue
Block a user